Fix typos for validateExistingTransaction

Closes gh-36767

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
Yanming Zhou
2026-05-09 16:39:50 +02:00
committed by Sam Brannen
parent 665c9ad7df
commit cfb8dc6cc8
4 changed files with 5 additions and 5 deletions
@@ -211,7 +211,7 @@ public interface TransactionDefinition {
* to match the values of the same constants on {@link java.sql.Connection}.
* <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
* {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
* transactions. Consider switching the "validateExistingTransactions" flag to
* transactions. Consider switching the "validateExistingTransaction" flag to
* "true" on your transaction manager if you'd like isolation level declarations
* to get rejected when participating in an existing transaction with a different
* isolation level.
@@ -182,7 +182,7 @@ public @interface Transactional {
* <p>Defaults to {@link Isolation#DEFAULT}.
* <p>Exclusively designed for use with {@link Propagation#REQUIRED} or
* {@link Propagation#REQUIRES_NEW} since it only applies to newly started
* transactions. Consider switching the "validateExistingTransactions" flag to
* transactions. Consider switching the "validateExistingTransaction" flag to
* "true" on your transaction manager if you'd like isolation level declarations
* to get rejected when participating in an existing transaction with a different
* isolation level.
@@ -152,7 +152,7 @@ public class DefaultTransactionDefinition implements TransactionDefinition, Seri
* in the TransactionDefinition interface. Default is PROPAGATION_REQUIRED.
* <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
* {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
* transactions. Consider switching the "validateExistingTransactions" flag to
* transactions. Consider switching the "validateExistingTransaction" flag to
* "true" on your transaction manager if you'd like isolation level declarations
* to get rejected when participating in an existing transaction with a different
* isolation level.
@@ -194,7 +194,7 @@ public class DefaultTransactionDefinition implements TransactionDefinition, Seri
* in the TransactionDefinition interface. Default is ISOLATION_DEFAULT.
* <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
* {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
* transactions. Consider switching the "validateExistingTransactions" flag to
* transactions. Consider switching the "validateExistingTransaction" flag to
* "true" on your transaction manager if you'd like isolation level declarations
* to get rejected when participating in an existing transaction with a different
* isolation level.