Package org.hibernate.cache.internal
Class NaturalIdCacheKey
java.lang.Object
org.hibernate.cache.internal.NaturalIdCacheKey
- All Implemented Interfaces:
Serializable
Defines a key for caching natural identifier resolutions into the second level cache.
This was named org.hibernate.cache.spi.NaturalIdCacheKey in Hibernate until version 5.
Temporarily maintained as a reference while all components catch up with the refactoring to the caching interfaces.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNaturalIdCacheKey
(Object naturalIdValues, String entityName, String tenantId, int hashCode) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static NaturalIdCacheKey
from
(Object naturalIdValues, EntityPersister persister, String entityName, SharedSessionContractImplementor session) static NaturalIdCacheKey
from
(Object naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) int
hashCode()
toString()