站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

PersisterFactory (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.persister
Class PersisterFactory

java.lang.Object
  extended byorg.hibernate.persister.PersisterFactory

public final class PersisterFactory
extends Object

Factory for EntityPersister and CollectionPersister instances

Author:
Gavin King

Method Summary
static EntityPersister createClassPersister(PersistentClass model, CacheConcurrencyStrategy cache, SessionFactoryImplementor factory, Mapping cfg)
           
static CollectionPersister createCollectionPersister(Configuration cfg, Collection model, CacheConcurrencyStrategy cache, SessionFactoryImplementor factory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createClassPersister

public static EntityPersister createClassPersister(PersistentClass model,
                                                   CacheConcurrencyStrategy cache,
                                                   SessionFactoryImplementor factory,
                                                   Mapping cfg)
                                            throws HibernateException
Throws:
HibernateException

createCollectionPersister

public static CollectionPersister createCollectionPersister(Configuration cfg,
                                                            Collection model,
                                                            CacheConcurrencyStrategy cache,
                                                            SessionFactoryImplementor factory)
                                                     throws HibernateException
Throws:
HibernateException