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)
Get the names of all persistent classes that implement/extend the given interface/class
|
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()
Access to the SessionFactory that this Metamodel instance is bound to.
@Deprecated default EntityType getEntityTypeByName(String entityName)
<X> EntityType<X> entity(String entityName)
Access to an entity supporting Hibernate’s entity-name feature
entityName
- The entity-nameCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.