public interface Metamodel
extends javax.persistence.metamodel.Metamodel
Modifier and Type | Method and Description |
---|---|
<X> javax.persistence.metamodel.EntityType<X> |
entity(java.lang.String entityName)
Access to an entity supporting Hibernate's entity-name feature
|
default javax.persistence.metamodel.EntityType |
getEntityTypeByName(java.lang.String entityName)
Deprecated.
since 5.2
|
java.lang.String[] |
getImplementors(java.lang.String entityName)
Get the names of all persistent classes that implement/extend the given interface/class
|
java.lang.String |
getImportedClassName(java.lang.String className) |
SessionFactory |
getSessionFactory()
Access to the SessionFactory that this Metamodel instance is bound to.
|
SessionFactory getSessionFactory()
@Deprecated default javax.persistence.metamodel.EntityType getEntityTypeByName(java.lang.String entityName)
<X> javax.persistence.metamodel.EntityType<X> entity(java.lang.String entityName)
entityName
- The entity-namejava.lang.String getImportedClassName(java.lang.String className)
java.lang.String[] getImplementors(java.lang.String entityName)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.