From 56194a10513e5272909e69c3afb56013e4a720bb Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Fri, 31 Aug 2018 12:40:43 +0200 Subject: [PATCH] Transactional timeout documented as seconds in annotation javadoc Issue: SPR-17226 (cherry picked from commit 8c6f3505c42efe05120c7acb180497f67cedc026) --- .../springframework/transaction/annotation/Transactional.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java b/spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java index d2c762e1c04a..eeccff5c53e9 100644 --- a/spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java +++ b/spring-tx/src/main/java/org/springframework/transaction/annotation/Transactional.java @@ -98,7 +98,7 @@ Isolation isolation() default Isolation.DEFAULT; /** - * The timeout for this transaction. + * The timeout for this transaction (in seconds). *

Defaults to the default timeout of the underlying transaction system. *

Exclusively designed for use with {@link Propagation#REQUIRED} or * {@link Propagation#REQUIRES_NEW} since it only applies to newly started