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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelayedPostInsertIdentifier()
Constructs aDelayedPostInsertIdentifier
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DelayedPostInsertIdentifier that)
boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DelayedPostInsertIdentifier
public DelayedPostInsertIdentifier()
Constructs aDelayedPostInsertIdentifier
-
-
Method Detail
-
compareTo
public int compareTo(DelayedPostInsertIdentifier that)
- Specified by:
compareTo
in interfaceComparable<DelayedPostInsertIdentifier>
-
-