diff --git a/spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java b/spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java index a452992632c0..999d1115ce0b 100644 --- a/spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java +++ b/spring-orm/src/main/java/org/springframework/orm/jpa/JpaTransactionManager.java @@ -93,9 +93,9 @@ * *
This transaction manager supports nested transactions via JDBC Savepoints. * The {@link #setNestedTransactionAllowed "nestedTransactionAllowed"} flag defaults - * to {@code false} though, since nested transactions will just apply to the JDBC + * to {@code true}, but nested transactions will just apply to the JDBC * Connection, not to the JPA EntityManager and its cached entity objects and related - * context. You can manually set the flag to {@code true} if you want to use nested + * context. You can manually set the flag to {@code false} if you want to disallow nested * transactions for JDBC access code which participates in JPA transactions (provided * that your JDBC driver supports Savepoints). Note that JPA itself does not support * nested transactions! Hence, do not expect JPA access code to semantically