Package org.hibernate.action.internal
Class DelayedPostInsertIdentifier
java.lang.Object
org.hibernate.action.internal.DelayedPostInsertIdentifier
- All Implemented Interfaces:
Serializable
,Comparable<DelayedPostInsertIdentifier>
public class DelayedPostInsertIdentifier
extends Object
implements Serializable, Comparable<DelayedPostInsertIdentifier>
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 operation
was called (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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DelayedPostInsertIdentifier
public DelayedPostInsertIdentifier()Constructs aDelayedPostInsertIdentifier
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<DelayedPostInsertIdentifier>
-