Interface EntityTransactionContext
- All Known Implementing Classes:
 EntityTransactionContextImpl
public interface EntityTransactionContext
- 
Method Summary
Modifier 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
- 
addCreatedEntity
Add a newly created entity which should be automatically saved before transaction commit. - 
addDeletedEntity
Entity which should be deleted before transaction commit (and after inserts). - 
executeEntityOperations
void executeEntityOperations()Execute all tracked entity operations (insert/delete) for the current session/transaction. - 
clear
void clear()Remove all cached data for the current session. 
 -