Package org.hibernate.cache.internal
Class NaturalIdCacheKey
- java.lang.Object
-
- org.hibernate.cache.internal.NaturalIdCacheKey
-
- All Implemented Interfaces:
Serializable
public class NaturalIdCacheKey extends Object implements 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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNaturalIdCacheKey.NaturalIdCacheKeyBuilder
-
Constructor Summary
Constructors Constructor Description NaturalIdCacheKey(Object naturalIdValues, String entityName, String tenantId, int hashCode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetEntityName()ObjectgetNaturalIdValues()StringgetTenantId()inthashCode()StringtoString()
-