Package org.hibernate.metamodel.internal
Class RuntimeMetamodelsImpl
- java.lang.Object
-
- org.hibernate.metamodel.internal.RuntimeMetamodelsImpl
-
- All Implemented Interfaces:
RuntimeMetamodels
,RuntimeMetamodelsImplementor
public class RuntimeMetamodelsImpl extends Object implements RuntimeMetamodelsImplementor
-
-
Constructor Summary
Constructors Constructor Description RuntimeMetamodelsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finishInitialization(MetadataImplementor bootMetamodel, BootstrapContext bootstrapContext, SessionFactoryImpl sessionFactory)
Chicken-and-egg because things try to use the SessionFactory (specifically the MappingMetamodel) before it is ready.EmbeddableValuedModelPart
getEmbedded(String role)
EmbeddableValuedModelPart
getEmbedded(NavigableRole role)
JpaMetamodelImplementor
getJpaMetamodel()
Access to the JPA / domain metamodelMappingMetamodelImplementor
getMappingMetamodel()
Access to the relational-mapping model-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.metamodel.RuntimeMetamodels
getEntityMappingType, getEntityMappingType, getImportedName, getPluralAttributeMapping
-
-
-
-
Method Detail
-
getJpaMetamodel
public JpaMetamodelImplementor getJpaMetamodel()
Description copied from interface:RuntimeMetamodels
Access to the JPA / domain metamodel- Specified by:
getJpaMetamodel
in interfaceRuntimeMetamodels
- Specified by:
getJpaMetamodel
in interfaceRuntimeMetamodelsImplementor
-
getMappingMetamodel
public MappingMetamodelImplementor getMappingMetamodel()
Description copied from interface:RuntimeMetamodels
Access to the relational-mapping model- Specified by:
getMappingMetamodel
in interfaceRuntimeMetamodels
- Specified by:
getMappingMetamodel
in interfaceRuntimeMetamodelsImplementor
-
getEmbedded
public EmbeddableValuedModelPart getEmbedded(String role)
- Specified by:
getEmbedded
in interfaceRuntimeMetamodels
-
getEmbedded
public EmbeddableValuedModelPart getEmbedded(NavigableRole role)
- Specified by:
getEmbedded
in interfaceRuntimeMetamodels
-
finishInitialization
public void finishInitialization(MetadataImplementor bootMetamodel, BootstrapContext bootstrapContext, SessionFactoryImpl sessionFactory)
Chicken-and-egg because things try to use the SessionFactory (specifically the MappingMetamodel) before it is ready. So we do this fugly code...
-
-