|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersisterFactory
Contract for creating persister instances (both EntityPersister
and CollectionPersister
varieties).
Method Summary | |
---|---|
CollectionPersister |
createCollectionPersister(Configuration cfg,
Collection model,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory)
Create a collection persister instance. |
CollectionPersister |
createCollectionPersister(MetadataImplementor metadata,
PluralAttributeBinding model,
CollectionRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory)
Create a collection persister instance. |
EntityPersister |
createEntityPersister(EntityBinding model,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg)
Create an entity persister instance. |
EntityPersister |
createEntityPersister(PersistentClass model,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg)
Create an entity persister instance. |
Method Detail |
---|
EntityPersister createEntityPersister(PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg) throws HibernateException
model
- The O/R mapping metamodel definition for the entitycacheAccessStrategy
- The caching strategy for this entityfactory
- The session factorycfg
- The overall mapping
HibernateException
- Indicates a problem building the persister.EntityPersister createEntityPersister(EntityBinding model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg) throws HibernateException
model
- The O/R mapping metamodel definition for the entitycacheAccessStrategy
- The caching strategy for this entityfactory
- The session factorycfg
- The overall mapping
HibernateException
- Indicates a problem building the persister.CollectionPersister createCollectionPersister(Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
cfg
- The configurationmodel
- The O/R mapping metamodel definition for the collectioncacheAccessStrategy
- The caching strategy for this collectionfactory
- The session factory
HibernateException
- Indicates a problem building the persister.CollectionPersister createCollectionPersister(MetadataImplementor metadata, PluralAttributeBinding model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
metadata
- The metadatamodel
- The O/R mapping metamodel definition for the collectioncacheAccessStrategy
- The caching strategy for this collectionfactory
- The session factory
HibernateException
- Indicates a problem building the persister.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |