Example usage for org.hibernate.cache.internal DefaultCacheKeysFactory createCollectionKey

List of usage examples for org.hibernate.cache.internal DefaultCacheKeysFactory createCollectionKey

Introduction

In this page you can find the example usage for org.hibernate.cache.internal DefaultCacheKeysFactory createCollectionKey.

Prototype

@Override
    public Object createCollectionKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory,
            String tenantIdentifier) 

Source Link

Usage

From source file:com.mc.hibernate.memcached.strategy.NonStrictReadWriteMemcachedCollectionRegionAccessStrategy.java

License:Apache License

@Override
public Object generateCacheKey(Object id, CollectionPersister persister, SessionFactoryImplementor factory,
        String tenantIdentifier) {
    return DefaultCacheKeysFactory.createCollectionKey(id, persister, factory, tenantIdentifier);
}