Top Description Fields Constructors Methods
org.hibernate.persister

public final Class PersisterFactory

extends Object
Class Inheritance
Imports
java.lang.reflect.Constructor, .InvocationTargetException, org.hibernate.HibernateException, .MappingException, org.hibernate.cache.access.EntityRegionAccessStrategy, .CollectionRegionAccessStrategy, org.hibernate.cfg.Configuration, org.hibernate.engine.Mapping, .SessionFactoryImplementor, org.hibernate.mapping.Collection, .PersistentClass, org.hibernate.persister.collection.BasicCollectionPersister, .CollectionPersister, .OneToManyPersister, org.hibernate.persister.entity.EntityPersister, .JoinedSubclassEntityPersister, .SingleTableEntityPersister, .UnionSubclassEntityPersister

Factory for EntityPersister and CollectionPersister instances
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private static final Class<T>[]
private static final Class<T>[]

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static EntityPersister
create(Class<T> persisterClass, PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg)

private static CollectionPersister
create(Class<T> persisterClass, Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory)

public static EntityPersister
public static CollectionPersister
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

COLLECTION_PERSISTER_CONSTRUCTOR_ARGSback to summary
private static final Class<T>[] COLLECTION_PERSISTER_CONSTRUCTOR_ARGS
PERSISTER_CONSTRUCTOR_ARGSback to summary
private static final Class<T>[] PERSISTER_CONSTRUCTOR_ARGS

Constructor Detail

PersisterFactoryback to summary
private PersisterFactory()

Method Detail

createback to summary
private static EntityPersister create(Class<T> persisterClass, PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg) throws HibernateException
createback to summary
private static CollectionPersister create(Class<T> persisterClass, Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException
createClassPersisterback to summary
public static EntityPersister createClassPersister(PersistentClass model, EntityRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory, Mapping cfg) throws HibernateException
createCollectionPersisterback to summary
public static CollectionPersister createCollectionPersister(Configuration cfg, Collection model, CollectionRegionAccessStrategy cacheAccessStrategy, SessionFactoryImplementor factory) throws HibernateException