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 voidfinishInitialization(MetadataImplementor bootMetamodel, BootstrapContext bootstrapContext, SessionFactoryImpl sessionFactory)Chicken-and-egg because things try to use the SessionFactory (specifically the MappingMetamodel) before it is ready.EmbeddableValuedModelPartgetEmbedded(String role)EmbeddableValuedModelPartgetEmbedded(NavigableRole role)JpaMetamodelImplementorgetJpaMetamodel()Access to the JPA / domain metamodel.MappingMetamodelImplementorgetMappingMetamodel()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:RuntimeMetamodelsAccess to the JPA / domain metamodel.- Specified by:
getJpaMetamodelin interfaceRuntimeMetamodels- Specified by:
getJpaMetamodelin interfaceRuntimeMetamodelsImplementor
-
getMappingMetamodel
public MappingMetamodelImplementor getMappingMetamodel()
Description copied from interface:RuntimeMetamodelsAccess to the relational mapping model.- Specified by:
getMappingMetamodelin interfaceRuntimeMetamodels- Specified by:
getMappingMetamodelin interfaceRuntimeMetamodelsImplementor
-
getEmbedded
public EmbeddableValuedModelPart getEmbedded(String role)
- Specified by:
getEmbeddedin interfaceRuntimeMetamodels
-
getEmbedded
public EmbeddableValuedModelPart getEmbedded(NavigableRole role)
- Specified by:
getEmbeddedin 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...
-
-