use of org.hibernate.metamodel.mapping.EntityMappingType in project hibernate-orm by hibernate.
the class TableCommentTest method getTableName.
private String getTableName() {
final SessionFactoryImplementor sessionFactory = sessionFactory();
final EntityMappingType entityMappingType = sessionFactory.getRuntimeMetamodels().getEntityMappingType(TableWithComment.class);
return ((AbstractEntityPersister) entityMappingType).getTableName();
}
Aggregations