| java.lang.Object | |
| ↳ | org.springframework.transaction.jta.JtaTransactionObject |
JTA transaction object, representing a javax.transaction.UserTransaction.
Used as transaction object by Spring's JtaTransactionManager.
Note: This is an SPI class, not intended to be used by applications.
JtaTransactionManager| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a new JtaTransactionObject for the given JTA UserTransaction.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This implementation triggers flush callbacks,
assuming that they will flush all affected ORM sessions.
| |||||||||||
Return the JTA UserTransaction object for the current transaction.
| |||||||||||
This implementation checks the UserTransaction's rollback-only flag.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.transaction.support.SmartTransactionObject
| |||||||||||
Create a new JtaTransactionObject for the given JTA UserTransaction.
| userTransaction | the JTA UserTransaction for the current transaction (either a shared object or retrieved through a fresh per-transaction lookuip) |
|---|
This implementation triggers flush callbacks, assuming that they will flush all affected ORM sessions.
Return the JTA UserTransaction object for the current transaction.
This implementation checks the UserTransaction's rollback-only flag.