org.hibernate.engine
Class EntityKey
java.lang.Object
org.hibernate.engine.EntityKey
- Serializable
public final class EntityKey
extends java.lang.Object
implements Serializable
Uniquely identifies of an entity instance in a particular session by identifier.
Uniqueing information consists of the entity-name and the identifier value.
EntityKey
public EntityKey(Serializable id,
EntityPersister persister,
EntityMode entityMode)
Construct a unique identifier for an entity class instance
equals
public boolean equals(Object other)
getEntityName
public String getEntityName()
getIdentifier
public Serializable getIdentifier()
Get the user-visible identifier
hashCode
public int hashCode()
isBatchLoadable
public boolean isBatchLoadable()
toString
public String toString()