public abstract class TransactionWrapperImpl
extends java.lang.Object
Constructor and Description |
---|
TransactionWrapperImpl(EntityManagerImpl entityManager) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
checkForTransaction(boolean validateExistence)
INTERNAL:
This method will be used to check for a transaction and throws exception if none exists.
|
void |
clear()
INTERNAL:
Clears the transactional UnitOfWork
|
UnitOfWorkImpl |
getLocalUnitOfWork() |
abstract void |
registerUnitOfWorkWithTxn(UnitOfWorkImpl uow) |
void |
setLocalUnitOfWork(RepeatableWriteUnitOfWork uow) |
abstract void |
setRollbackOnlyInternal()
Mark the current transaction so that the only possible
outcome of the transaction is for the transaction to be
rolled back.
|
abstract boolean |
shouldFlushBeforeQuery(UnitOfWorkImpl uow)
This method will be called when a query is executed.
|
abstract void |
verifyRegisterUnitOfWorkWithTxn() |
public TransactionWrapperImpl(EntityManagerImpl entityManager)
public abstract java.lang.Object checkForTransaction(boolean validateExistence)
public void clear()
public abstract void registerUnitOfWorkWithTxn(UnitOfWorkImpl uow)
public abstract void verifyRegisterUnitOfWorkWithTxn()
public UnitOfWorkImpl getLocalUnitOfWork()
public void setLocalUnitOfWork(RepeatableWriteUnitOfWork uow)
public abstract void setRollbackOnlyInternal()
public abstract boolean shouldFlushBeforeQuery(UnitOfWorkImpl uow)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference