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
PersistenceContextin order to distinguish one instance from another; it is never injected into the entity instance or returned to the client.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelayedPostInsertIdentifier()Constructs aDelayedPostInsertIdentifier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DelayedPostInsertIdentifier that)booleanequals(Object o)inthashCode()StringtoString()
-
-
-
Constructor Detail
-
DelayedPostInsertIdentifier
public DelayedPostInsertIdentifier()
Constructs aDelayedPostInsertIdentifier
-
-
Method Detail
-
compareTo
public int compareTo(DelayedPostInsertIdentifier that)
- Specified by:
compareToin interfaceComparable<DelayedPostInsertIdentifier>
-
-