|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersisterClassProvider
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)
Method Summary | |
---|---|
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. |
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 |
---|
Class<? extends EntityPersister> getEntityPersisterClass(String entityName)
Class<? extends CollectionPersister> getCollectionPersisterClass(String collectionPersister)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |