Methods Summary |
---|
public void | beforeExecutions()
throw new AssertionFailure( "beforeExecutions() called for non-collection action" );
|
public int | compareTo(java.lang.Object other)
EntityAction action = ( EntityAction ) other;
//sort first by entity name
int roleComparison = entityName.compareTo( action.entityName );
if ( roleComparison != 0 ) {
return roleComparison;
}
else {
//then by id
return persister.getIdentifierType().compare( id, action.id, session.getEntityMode() );
}
|
public java.lang.String | getEntityName()entity name accessor
return entityName;
|
public final java.io.Serializable | getId()entity id accessor
if ( id instanceof DelayedPostInsertIdentifier ) {
return session.getPersistenceContext().getEntry( instance ).getId();
}
return id;
|
public final java.lang.Object | getInstance()entity instance accessor
return instance;
|
public final org.hibernate.persister.entity.EntityPersister | getPersister()entity persister accessor
return persister;
|
public final java.io.Serializable[] | getPropertySpaces()
return persister.getPropertySpaces();
|
public final org.hibernate.engine.SessionImplementor | getSession()originating session accessor
return session;
|
public boolean | hasAfterTransactionCompletion()
return persister.hasCache() || hasPostCommitEventListeners();
|
protected abstract boolean | hasPostCommitEventListeners()
|
private void | readObject(java.io.ObjectInputStream ois)Serialization...
ois.defaultReadObject();
persister = session.getFactory().getEntityPersister( entityName );
|
public java.lang.String | toString()
return StringHelper.unqualify( getClass().getName() ) + MessageHelper.infoString( entityName, id );
|