File tree Expand file tree Collapse file tree
framework-docs/modules/ROOT/pages/data-access/transaction/declarative
spring-tx/src/main/java/org/springframework/transaction Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ where all the underlying resources have to participate in the service-level tran
2222
2323NOTE: By default, a participating transaction joins the characteristics of the outer scope,
2424silently ignoring the local isolation level, timeout value, or read-only flag (if any).
25- Consider switching the `validateExistingTransactions ` flag to `true` on your transaction
25+ Consider switching the `validateExistingTransaction ` flag to `true` on your transaction
2626manager if you want isolation level declarations to be rejected when participating in
2727an existing transaction with a different isolation level. This non-lenient mode also
2828rejects read-only mismatches (that is, an inner read-write transaction that tries to participate
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ default int getPropagationBehavior() {
211211 * to match the values of the same constants on {@link java.sql.Connection}.
212212 * <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
213213 * {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
214- * transactions. Consider switching the "validateExistingTransactions " flag to
214+ * transactions. Consider switching the "validateExistingTransaction " flag to
215215 * "true" on your transaction manager if you'd like isolation level declarations
216216 * to get rejected when participating in an existing transaction with a different
217217 * isolation level.
Original file line number Diff line number Diff line change 179179 * <p>Defaults to {@link Isolation#DEFAULT}.
180180 * <p>Exclusively designed for use with {@link Propagation#REQUIRED} or
181181 * {@link Propagation#REQUIRES_NEW} since it only applies to newly started
182- * transactions. Consider switching the "validateExistingTransactions " flag to
182+ * transactions. Consider switching the "validateExistingTransaction " flag to
183183 * "true" on your transaction manager if you'd like isolation level declarations
184184 * to get rejected when participating in an existing transaction with a different
185185 * isolation level.
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public final void setPropagationBehaviorName(String constantName) throws Illegal
152152 * in the TransactionDefinition interface. Default is PROPAGATION_REQUIRED.
153153 * <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
154154 * {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
155- * transactions. Consider switching the "validateExistingTransactions " flag to
155+ * transactions. Consider switching the "validateExistingTransaction " flag to
156156 * "true" on your transaction manager if you'd like isolation level declarations
157157 * to get rejected when participating in an existing transaction with a different
158158 * isolation level.
@@ -194,7 +194,7 @@ public final void setIsolationLevelName(String constantName) throws IllegalArgum
194194 * in the TransactionDefinition interface. Default is ISOLATION_DEFAULT.
195195 * <p>Exclusively designed for use with {@link #PROPAGATION_REQUIRED} or
196196 * {@link #PROPAGATION_REQUIRES_NEW} since it only applies to newly started
197- * transactions. Consider switching the "validateExistingTransactions " flag to
197+ * transactions. Consider switching the "validateExistingTransaction " flag to
198198 * "true" on your transaction manager if you'd like isolation level declarations
199199 * to get rejected when participating in an existing transaction with a different
200200 * isolation level.
You can’t perform that action at this time.
0 commit comments