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: