public final class PersisterFactory extends Object
Modifier and Type | Method and Description |
---|---|
static EntityPersister |
createClassPersister(PersistentClass model,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg) |
static CollectionPersister |
createCollectionPersister(Configuration cfg,
Collection model,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory) |
public static EntityPersister createClassPersister(PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg) throws HibernateException
HibernateException
public static CollectionPersister createCollectionPersister(Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
HibernateException
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved