Skip to content

Commit 56194a1

Browse files
committed
Transactional timeout documented as seconds in annotation javadoc
Issue: SPR-17226 (cherry picked from commit 8c6f350)
1 parent a496836 commit 56194a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
Isolation isolation() default Isolation.DEFAULT;
9999

100100
/**
101-
* The timeout for this transaction.
101+
* The timeout for this transaction (in seconds).
102102
* <p>Defaults to the default timeout of the underlying transaction system.
103103
* <p>Exclusively designed for use with {@link Propagation#REQUIRED} or
104104
* {@link Propagation#REQUIRES_NEW} since it only applies to newly started

0 commit comments

Comments
 (0)