Transactional timeout documented as seconds in annotation javadoc

Issue: SPR-17226
This commit is contained in:
Juergen Hoeller
2018-08-31 12:40:43 +02:00
parent 78cad0fdd3
commit 8c6f3505c4

View File

@@ -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