org.hibernate.action
Class DelayedPostInsertIdentifier

java.lang.Object
  extended by org.hibernate.action.DelayedPostInsertIdentifier
All Implemented Interfaces:
java.io.Serializable

public class DelayedPostInsertIdentifier
extends java.lang.Object
implements java.io.Serializable

Acts as a stand-in for an entity identifier which is supposed to be generated on insert (like an IDENTITY column) where the insert needed to be delayed because we were outside a transaction when the persist occurred (save currently still performs the insert).

The stand-in is only used within the PersistenceContext in order to distinguish one instance from another; it is never injected into the entity instance or returned to the client...

Author:
Steve Ebersole
See Also:
Serialized Form

Constructor Summary
DelayedPostInsertIdentifier()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DelayedPostInsertIdentifier

public DelayedPostInsertIdentifier()
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2008 Hibernate.org. All Rights Reserved.