List of usage examples for org.hibernate.persister.entity EntityPersister getNaturalIdentifierProperties
int[] getNaturalIdentifierProperties();
From source file:com.hazelcast.hibernate.region.HazelcastCacheKeysFactory.java
License:Open Source License
@Override public Object createNaturalIdKey(Object[] naturalIdValues, EntityPersister persister, SharedSessionContractImplementor session) { return new NaturalIdCacheKey(naturalIdValues, persister.getPropertyTypes(), persister.getNaturalIdentifierProperties(), persister.getRootEntityName(), (SessionImplementor) session); }