Class AssociationKey

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

public final class AssociationKey extends Object implements Serializable
Identifies a named association belonging to a particular entity instance. Used to record the fact that an association is null during loading.
See Also:
  • Constructor Details

    • AssociationKey

      public AssociationKey(EntityKey ownerKey, String propertyName)
      Constructs an AssociationKey
      Parameters:
      ownerKey - The EntityKey of the association owner
      propertyName - The name of the property on the owner which defines the association
  • Method Details

    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object