Package org.hibernate
Interface Metamodel
-
- All Superinterfaces:
JpaMetamodel
,jakarta.persistence.metamodel.Metamodel
- All Known Subinterfaces:
MetamodelImplementor
- All Known Implementing Classes:
MappingMetamodelImpl
@Deprecated(since="6.0") public interface Metamodel extends JpaMetamodel
Deprecated.PreferJpaMetamodel
- See Also:
JpaMetamodel
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description String[]
getImplementors(String entityName)
Deprecated.Given the name of an entity class, determine all the class and interface names by which it can be referenced in an HQL query.SessionFactory
getSessionFactory()
Deprecated.Access to the SessionFactory that this Metamodel instance is bound to.-
Methods inherited from interface org.hibernate.metamodel.model.domain.JpaMetamodel
addNamedEntityGraph, embeddable, entity, entity, findEntityGraphByName, findEntityGraphsByJavaType, findEntityType, findManagedType, getAllowedEnumLiteralTexts, getEmbeddables, getEntities, getHqlEntityReference, getJpaCompliance, getManagedTypes, getServiceRegistry, getTypeConfiguration, managedType, qualifyImportableName, resolveHqlEntityReference
-
-
-
-
Method Detail
-
getSessionFactory
SessionFactory getSessionFactory()
Deprecated.Access to the SessionFactory that this Metamodel instance is bound to.- Returns:
- The SessionFactory
-
getImplementors
String[] getImplementors(String entityName)
Deprecated.Given the name of an entity class, determine all the class and interface names by which it can be referenced in an HQL query.- Parameters:
entityName
- The name of the entity class- Returns:
- the names of all persistent (mapped) classes that extend or implement the given class or interface, accounting for implicit/explicit polymorphism settings and excluding mapped subclasses/joined-subclasses of other classes in the result.
-
-