Top Description Methods
org.hibernate.persister

public Interface PersisterClassProvider

Imports
org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.EntityPersister

Provides persister classes based on the entity or collection role. The persister class is chosen according to the following rules in decreasing priority: - the persister class defined explicitly via annotation or XML - the persister class returned by the PersisterClassProvider implementation (if not null) - the default provider as chosen by Hibernate Core (best choice most of the time)
Author
Emmanuel Bernard

Method Summary

Modifier and TypeMethod and Description
public Class<? extends CollectionPersister>
getCollectionPersisterClass(String collectionPersister)

Returns the collection persister class for a given collection role or null if the collection persister class should be the default.

public Class<? extends EntityPersister>
getEntityPersisterClass(String entityName)

Returns the entity persister class for a given entityName or null if the entity persister class should be the default.

Method Detail

getCollectionPersisterClassback to summary
public Class<? extends CollectionPersister> getCollectionPersisterClass(String collectionPersister)

Returns the collection persister class for a given collection role or null if the collection persister class should be the default.

getEntityPersisterClassback to summary
public Class<? extends EntityPersister> getEntityPersisterClass(String entityName)

Returns the entity persister class for a given entityName or null if the entity persister class should be the default.