Interface EntityTransactionContext
- All Known Implementing Classes:
- EntityTransactionContextImpl
public interface EntityTransactionContext
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddCreatedEntity(Entity entity) Add a newly created entity which should be automatically saved before transaction commit.voidaddDeletedEntity(Entity entity) Entity which should be deleted before transaction commit (and after inserts).voidclear()Remove all cached data for the current session.voidExecute all tracked entity operations (insert/delete) for the current session/transaction.
- 
Method Details- 
addCreatedEntityAdd a newly created entity which should be automatically saved before transaction commit.
- 
addDeletedEntityEntity which should be deleted before transaction commit (and after inserts).
- 
executeEntityOperationsvoid executeEntityOperations()Execute all tracked entity operations (insert/delete) for the current session/transaction.
- 
clearvoid clear()Remove all cached data for the current session.
 
-