| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| protected AbstractTransactionController |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | checkForTransaction(boolean validateExistence)
Implements abstract org. |
| public void | clear()
Overrides org. |
| public EntityTransaction | getTransaction()
Implements org. |
| public boolean | |
| public void | |
| public void | setRollbackOnlyInternal()
Implements abstract org. |
| protected void | |
| protected void |
| isJoined | back to summary |
|---|---|
| private boolean isJoined | |
| txnController | back to summary |
|---|---|
| protected AbstractTransactionController txnController | |
| JTATransactionWrapper | back to summary |
|---|---|
| public JTATransactionWrapper(EntityManagerImpl entityManager) | |
| checkForTransaction | back to summary |
|---|---|
| public Object checkForTransaction(boolean validateExistence) Implements abstract org. INTERNAL: This method will be used to check for a transaction and throws exception if none exists. If this method returns without exception then a transaction exists. This method must be called before accessing the localUOW.
| |
| clear | back to summary |
|---|---|
| public void clear() Overrides org. INTERNAL: Internal clear the underlying data structures that this transaction owns.
| |
| getTransaction | back to summary |
|---|---|
| public EntityTransaction getTransaction() Implements org. An ENtityTransaction cannot be used at the same time as a JTA transaction throw an exception
| |
| isJoinedToTransaction | back to summary |
|---|---|
| public boolean isJoinedToTransaction(UnitOfWorkImpl uow) Implements abstract org.
| |
| registerIfRequired | back to summary |
|---|---|
| public void registerIfRequired(UnitOfWorkImpl uow) Implements abstract org.
| |
| setRollbackOnlyInternal | back to summary |
|---|---|
| public void setRollbackOnlyInternal() Implements abstract org. INTERNAL: Mark the current transaction so that the only possible outcome of the transaction is for the transaction to be rolled back. This is an internal method and if the txn is not active will do nothing
| |
| throwCheckTransactionFailedException | back to summary |
|---|---|
| protected void throwCheckTransactionFailedException() | |
| throwUserTransactionException | back to summary |
|---|---|
| protected void throwUserTransactionException() | |