public interface Metamodel extends Metamodel
Modifier and Type | Method and Description |
---|---|
<X> EntityType<X> |
entity(String entityName)
Access to an entity supporting Hibernate's entity-name feature
|
default EntityType |
getEntityTypeByName(String entityName)
Deprecated.
since 5.2
|
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.
|
String |
getImportedClassName(String className) |
SessionFactory |
getSessionFactory()
Access to the SessionFactory that this Metamodel instance is bound to.
|
embeddable, entity, getEmbeddables, getEntities, getManagedTypes, managedType
SessionFactory getSessionFactory()
@Deprecated default EntityType getEntityTypeByName(String entityName)
<X> EntityType<X> entity(String entityName)
entityName
- The entity-nameString[] getImplementors(String entityName)
entityName
- The name of the entity classMappingException
Copyright © 2019 JBoss by Red Hat. All rights reserved.