Package org.hibernate.persister.internal
Class StandardPersisterClassResolver
java.lang.Object
org.hibernate.persister.internal.StandardPersisterClassResolver
- All Implemented Interfaces:
Serializable
,PersisterClassResolver
,Service
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends CollectionPersister>
getCollectionPersisterClass
(Collection metadata) Returns the collection persister class for a given collection role or null if the collection persister class should be the default.Class<? extends EntityPersister>
Returns the entity persister class for a given entityName or null if the entity persister class should be the default.Class<? extends EntityPersister>
Class<? extends EntityPersister>
Class<? extends EntityPersister>
-
Constructor Details
-
StandardPersisterClassResolver
public StandardPersisterClassResolver()
-
-
Method Details
-
getEntityPersisterClass
Description copied from interface:PersisterClassResolver
Returns the entity persister class for a given entityName or null if the entity persister class should be the default.- Specified by:
getEntityPersisterClass
in interfacePersisterClassResolver
- Parameters:
model
- The entity metadata- Returns:
- The entity persister class to use
-
singleTableEntityPersister
-
joinedSubclassEntityPersister
-
unionSubclassEntityPersister
-
getCollectionPersisterClass
Description copied from interface:PersisterClassResolver
Returns the collection persister class for a given collection role or null if the collection persister class should be the default.- Specified by:
getCollectionPersisterClass
in interfacePersisterClassResolver
- Parameters:
metadata
- The collection metadata- Returns:
- The collection persister class to use
-