public final class EntityUpdateAction extends EntityAction
Constructor and Description |
---|
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
void |
doAfterTransactionCompletion(boolean success,
SessionImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction.
|
void |
execute()
Execute this action
|
protected boolean |
hasPostCommitEventListeners() |
afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, listenerGroup, needsAfterTransactionCompletion, toString
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
HibernateException
public void execute() throws HibernateException
Executable
HibernateException
- Indicates a problem during execution.protected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners
in class EntityAction
public void doAfterTransactionCompletion(boolean success, SessionImplementor session) throws CacheException
AfterTransactionCompletionProcess
success
- Did the transaction complete successfully? True means it did.session
- The session on which the transaction is completing.CacheException
Copyright © 2018 JBoss by Red Hat. All rights reserved.