public final class

EntityKey

extends Object
implements Serializable
java.lang.Object
   ↳ org.hibernate.engine.EntityKey

Class Overview

Uniquely identifies of an entity instance in a particular session by identifier.

Uniqueing information consists of the entity-name and the identifier value.

See Also

Summary

Public Constructors
EntityKey(Serializable id, EntityPersister persister, EntityMode entityMode)
Construct a unique identifier for an entity class instance
Public Methods
boolean equals(Object other)
String getEntityName()
Serializable getIdentifier()
Get the user-visible identifier
int hashCode()
boolean isBatchLoadable()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EntityKey (Serializable id, EntityPersister persister, EntityMode entityMode)

Construct a unique identifier for an entity class instance

Public Methods

public boolean equals (Object other)

public String getEntityName ()

public Serializable getIdentifier ()

Get the user-visible identifier

public int hashCode ()

public boolean isBatchLoadable ()

public String toString ()