Browse Source

Transactional timeout documented as seconds in annotation javadoc

Issue: SPR-17226

(cherry picked from commit 8c6f3505c4)
pull/1998/head
Juergen Hoeller 7 years ago
parent
commit
648fa60f48
  1. 2
      spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java

2
spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java

@ -98,7 +98,7 @@ public @interface Transactional { @@ -98,7 +98,7 @@ public @interface Transactional {
Isolation isolation() default Isolation.DEFAULT;
/**
* The timeout for this transaction.
* The timeout for this transaction (in seconds).
* <p>Defaults to the default timeout of the underlying transaction system.
* <p>Exclusively designed for use with {@link Propagation#REQUIRED} or
* {@link Propagation#REQUIRES_NEW} since it only applies to newly started

Loading…
Cancel
Save