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

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


net.sf.hibernate.persister
Class PersisterFactory

java.lang.Object
  extended bynet.sf.hibernate.persister.PersisterFactory

public final class PersisterFactory
extends Object

Factory for ClassPersister and CollectionPersister instances

Author:
Gavin King

Method Summary
static ClassPersister createClassPersister(PersistentClass model, SessionFactoryImplementor factory)
           
static CollectionPersister createCollectionPersister(Configuration cfg, Collection model, 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 ClassPersister createClassPersister(PersistentClass model,
                                                  SessionFactoryImplementor factory)
                                           throws HibernateException
Throws:
HibernateException

createCollectionPersister

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