Transactional timeout documented as seconds in annotation javadoc

Issue: SPR-17226
master
Juergen Hoeller 6 years ago
parent 78cad0fdd3
commit 8c6f3505c4
  1. 2
      spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java

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