Package org.hibernate.action
Class EntityUpdateAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityUpdateAction
- All Implemented Interfaces:
Serializable,Comparable,AfterTransactionCompletionProcess,Executable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SessionImplementor session) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAfterTransactionCompletion(boolean success, SessionImplementor session) Perform whatever processing is encapsulated here after completion of the transaction.voidexecute()Execute this actionprotected booleanMethods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, needsAfterTransactionCompletion, toString
-
Constructor Details
-
EntityUpdateAction
public EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SessionImplementor session) throws HibernateException - Throws:
HibernateException
-
-
Method Details
-
execute
Description copied from interface:ExecutableExecute this action- Throws:
HibernateException- Indicates a problem during execution.
-
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()- Specified by:
hasPostCommitEventListenersin classEntityAction
-
doAfterTransactionCompletion
public void doAfterTransactionCompletion(boolean success, SessionImplementor session) throws CacheException Description copied from interface:AfterTransactionCompletionProcessPerform whatever processing is encapsulated here after completion of the transaction.- Parameters:
success- Did the transaction complete successfully? True means it did.session- The session on which the transaction is completing.- Throws:
CacheException
-