parent
cf86f9b3dd
commit
d9c0151d41
|
|
@ -207,7 +207,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||||
* Set whether existing transactions should be validated before participating
|
* Set whether existing transactions should be validated before participating
|
||||||
* in them.
|
* in them.
|
||||||
* <p>When participating in an existing transaction (e.g. with
|
* <p>When participating in an existing transaction (e.g. with
|
||||||
* PROPAGATION_REQUIRES or PROPAGATION_SUPPORTS encountering an existing
|
* PROPAGATION_REQUIRED or PROPAGATION_SUPPORTS encountering an existing
|
||||||
* transaction), this outer transaction's characteristics will apply even
|
* transaction), this outer transaction's characteristics will apply even
|
||||||
* to the inner transaction scope. Validation will detect incompatible
|
* to the inner transaction scope. Validation will detect incompatible
|
||||||
* isolation level and read-only settings on the inner transaction definition
|
* isolation level and read-only settings on the inner transaction definition
|
||||||
|
|
@ -232,7 +232,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||||
* Set whether to globally mark an existing transaction as rollback-only
|
* Set whether to globally mark an existing transaction as rollback-only
|
||||||
* after a participating transaction failed.
|
* after a participating transaction failed.
|
||||||
* <p>Default is "true": If a participating transaction (e.g. with
|
* <p>Default is "true": If a participating transaction (e.g. with
|
||||||
* PROPAGATION_REQUIRES or PROPAGATION_SUPPORTS encountering an existing
|
* PROPAGATION_REQUIRED or PROPAGATION_SUPPORTS encountering an existing
|
||||||
* transaction) fails, the transaction will be globally marked as rollback-only.
|
* transaction) fails, the transaction will be globally marked as rollback-only.
|
||||||
* The only possible outcome of such a transaction is a rollback: The
|
* The only possible outcome of such a transaction is a rollback: The
|
||||||
* transaction originator <i>cannot</i> make the transaction commit anymore.
|
* transaction originator <i>cannot</i> make the transaction commit anymore.
|
||||||
|
|
|
||||||
|
|
@ -450,7 +450,7 @@ public abstract class TransactionSynchronizationManager {
|
||||||
* between active transaction synchronization (with or without backing
|
* between active transaction synchronization (with or without backing
|
||||||
* resource transaction; also on PROPAGATION_SUPPORTS) and an actual
|
* resource transaction; also on PROPAGATION_SUPPORTS) and an actual
|
||||||
* transaction being active (with backing resource transaction;
|
* transaction being active (with backing resource transaction;
|
||||||
* on PROPAGATION_REQUIRES, PROPAGATION_REQUIRES_NEW, etc).
|
* on PROPAGATION_REQUIRED, PROPAGATION_REQUIRES_NEW, etc).
|
||||||
* @see #isSynchronizationActive()
|
* @see #isSynchronizationActive()
|
||||||
*/
|
*/
|
||||||
public static boolean isActualTransactionActive() {
|
public static boolean isActualTransactionActive() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue