Class EntityKey

java.lang.Object
org.hibernate.engine.EntityKey
All Implemented Interfaces:
Serializable

public final class EntityKey extends 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.

See Also:
  • Constructor Details

  • Method Details

    • isBatchLoadable

      public boolean isBatchLoadable()
    • getIdentifier

      public Serializable getIdentifier()
      Get the user-visible identifier
    • getEntityName

      public String getEntityName()
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object