org.hibernate.action.internal
Class EntityUpdateAction
java.lang.Object
org.hibernate.action.internal.EntityAction
org.hibernate.action.internal.EntityUpdateAction
- All Implemented Interfaces:
- Serializable, Comparable, AfterTransactionCompletionProcess, Executable
public final class EntityUpdateAction
- extends EntityAction
- See Also:
- Serialized Form
Constructor Summary |
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SessionImplementor session)
|
Methods inherited from class org.hibernate.action.internal.EntityAction |
afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, listenerGroup, needsAfterTransactionCompletion, toString |
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
execute
public void execute()
throws HibernateException
- Description copied from interface:
Executable
- Execute this action
- Throws:
HibernateException
- Indicates a problem during execution.
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()
- Specified by:
hasPostCommitEventListeners
in class EntityAction
doAfterTransactionCompletion
public void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
throws CacheException
- Description copied from interface:
AfterTransactionCompletionProcess
- Perform 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
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.