Top Methods
org.hibernate

public Interface Metamodel

extends JpaMetamodel
Known Direct Subinterfaces
org.hibernate.metamodel.spi.MetamodelImplementor
Annotations
@Deprecated
since:6.0
Imports
org.hibernate.metamodel.model.domain.JpaMetamodel

Deprecated

since 6.0.

Prefer JpaMetamodel

Author
Steve Ebersole
See Also
JpaMetamodel

Method Summary

Modifier and TypeMethod and Description
public String[]

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.
getImplementors
(String
The name of the entity class
entityName
)

Given the name of an entity class, determine all the class and interface names by which it can be referenced in an HQL query.

Inherited from org.hibernate.metamodel.model.domain.JpaMetamodel:
addNamedEntityGraphembeddableentityentityfindEntityGraphByNamefindEntityGraphsByJavaTypefindEntityTypefindManagedTypegetAllowedEnumLiteralTextsgetEmbeddablesgetEntitiesgetHqlEntityReferencegetJpaCompliancegetManagedTypesgetServiceRegistrygetTypeConfigurationmanagedTypequalifyImportableNameresolveHqlEntityReference

Method Detail

getImplementorsback to summary
public String[] getImplementors(String entityName)

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:String

The name of the entity class

Returns:String[]

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.