Class DialectFeatureChecks.FakeMetadataBuildingContext

java.lang.Object
org.hibernate.testing.orm.junit.DialectFeatureChecks.FakeMetadataBuildingContext
All Implemented Interfaces:
org.hibernate.boot.Metadata, org.hibernate.boot.spi.InFlightMetadataCollector, org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.boot.spi.MetadataImplementor, org.hibernate.type.MappingContext
Enclosing class:
DialectFeatureChecks

public static class DialectFeatureChecks.FakeMetadataBuildingContext extends Object implements org.hibernate.boot.spi.MetadataBuildingContext, org.hibernate.boot.spi.InFlightMetadataCollector
  • Constructor Details

    • FakeMetadataBuildingContext

      public FakeMetadataBuildingContext(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.query.sqm.function.SqmFunctionRegistry functionRegistry)
  • Method Details

    • getBootstrapContext

      public org.hibernate.boot.spi.BootstrapContext getBootstrapContext()
      Specified by:
      getBootstrapContext in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Specified by:
      getBootstrapContext in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getBuildingOptions

      public org.hibernate.boot.spi.MetadataBuildingOptions getBuildingOptions()
      Specified by:
      getBuildingOptions in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getDatabase

      public org.hibernate.boot.model.relational.Database getDatabase()
      Specified by:
      getDatabase in interface org.hibernate.boot.Metadata
    • getMetadataBuildingOptions

      public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()
      Specified by:
      getMetadataBuildingOptions in interface org.hibernate.boot.spi.MetadataImplementor
    • getTypeConfiguration

      public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()
      Specified by:
      getTypeConfiguration in interface org.hibernate.boot.spi.MetadataImplementor
    • getFunctionRegistry

      public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()
      Specified by:
      getFunctionRegistry in interface org.hibernate.boot.spi.MetadataImplementor
    • getEffectiveDefaults

      public org.hibernate.boot.spi.EffectiveMappingDefaults getEffectiveDefaults()
      Specified by:
      getEffectiveDefaults in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getMetadataCollector

      public org.hibernate.boot.spi.InFlightMetadataCollector getMetadataCollector()
      Specified by:
      getMetadataCollector in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getObjectNameNormalizer

      public org.hibernate.boot.model.naming.ObjectNameNormalizer getObjectNameNormalizer()
      Specified by:
      getObjectNameNormalizer in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getTypeDefinitionRegistry

      public org.hibernate.boot.model.TypeDefinitionRegistry getTypeDefinitionRegistry()
      Specified by:
      getTypeDefinitionRegistry in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Specified by:
      getTypeDefinitionRegistry in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getCurrentContributorName

      public String getCurrentContributorName()
      Specified by:
      getCurrentContributorName in interface org.hibernate.boot.spi.MetadataBuildingContext
    • getGlobalRegistrations

      public org.hibernate.boot.models.spi.GlobalRegistrations getGlobalRegistrations()
      Specified by:
      getGlobalRegistrations in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPersistenceUnitMetadata

      public org.hibernate.boot.models.xml.spi.PersistenceUnitMetadata getPersistenceUnitMetadata()
      Specified by:
      getPersistenceUnitMetadata in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addEntityBinding

      public void addEntityBinding(org.hibernate.mapping.PersistentClass persistentClass) throws org.hibernate.DuplicateMappingException
      Specified by:
      addEntityBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • getEntityBindingMap

      public Map<String,org.hibernate.mapping.PersistentClass> getEntityBindingMap()
      Specified by:
      getEntityBindingMap in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerComponent

      public void registerComponent(org.hibernate.mapping.Component component)
      Specified by:
      registerComponent in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerGenericComponent

      public void registerGenericComponent(org.hibernate.mapping.Component component)
      Specified by:
      registerGenericComponent in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerEmbeddableSubclass

      public void registerEmbeddableSubclass(org.hibernate.models.spi.ClassDetails superclass, org.hibernate.models.spi.ClassDetails subclass)
      Specified by:
      registerEmbeddableSubclass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getEmbeddableSubclasses

      public List<org.hibernate.models.spi.ClassDetails> getEmbeddableSubclasses(org.hibernate.models.spi.ClassDetails superclass)
      Specified by:
      getEmbeddableSubclasses in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addImport

      public void addImport(String importName, String className) throws org.hibernate.DuplicateMappingException
      Specified by:
      addImport in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addCollectionBinding

      public void addCollectionBinding(org.hibernate.mapping.Collection collection) throws org.hibernate.DuplicateMappingException
      Specified by:
      addCollectionBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addTable

      public org.hibernate.mapping.Table addTable(String schema, String catalog, String name, String subselect, boolean isAbstract, org.hibernate.boot.spi.MetadataBuildingContext buildingContext)
      Specified by:
      addTable in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDenormalizedTable

      public org.hibernate.mapping.Table addDenormalizedTable(String schema, String catalog, String name, boolean isAbstract, String subselect, org.hibernate.mapping.Table includedTable, org.hibernate.boot.spi.MetadataBuildingContext buildingContext) throws org.hibernate.DuplicateMappingException
      Specified by:
      addDenormalizedTable in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addNamedQuery

      public void addNamedQuery(org.hibernate.boot.query.NamedHqlQueryDefinition<?> query) throws org.hibernate.DuplicateMappingException
      Specified by:
      addNamedQuery in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addNamedNativeQuery

      public void addNamedNativeQuery(org.hibernate.boot.query.NamedNativeQueryDefinition<?> query) throws org.hibernate.DuplicateMappingException
      Specified by:
      addNamedNativeQuery in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addResultSetMapping

      public void addResultSetMapping(org.hibernate.boot.query.NamedResultSetMappingDescriptor resultSetMappingDefinition) throws org.hibernate.DuplicateMappingException
      Specified by:
      addResultSetMapping in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addNamedProcedureCallDefinition

      public void addNamedProcedureCallDefinition(org.hibernate.boot.query.NamedProcedureCallDefinition definition) throws org.hibernate.DuplicateMappingException
      Specified by:
      addNamedProcedureCallDefinition in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.DuplicateMappingException
    • addNamedEntityGraph

      public void addNamedEntityGraph(org.hibernate.boot.model.NamedEntityGraphDefinition namedEntityGraphDefinition)
      Specified by:
      addNamedEntityGraph in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addTypeDefinition

      public void addTypeDefinition(org.hibernate.boot.model.TypeDefinition typeDefinition)
      Specified by:
      addTypeDefinition in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addFilterDefinition

      public void addFilterDefinition(org.hibernate.engine.spi.FilterDefinition definition)
      Specified by:
      addFilterDefinition in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addAuxiliaryDatabaseObject

      public void addAuxiliaryDatabaseObject(org.hibernate.boot.model.relational.AuxiliaryDatabaseObject auxiliaryDatabaseObject)
      Specified by:
      addAuxiliaryDatabaseObject in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addFetchProfile

      public void addFetchProfile(org.hibernate.mapping.FetchProfile profile)
      Specified by:
      addFetchProfile in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addIdentifierGenerator

      public void addIdentifierGenerator(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition)
      Specified by:
      addIdentifierGenerator in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getConverterRegistry

      public org.hibernate.boot.model.convert.spi.ConverterRegistry getConverterRegistry()
      Specified by:
      getConverterRegistry in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addAttributeConverter

      public void addAttributeConverter(org.hibernate.boot.model.convert.spi.ConverterDescriptor descriptor)
      Specified by:
      addAttributeConverter in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addAttributeConverter

      public void addAttributeConverter(Class<? extends AttributeConverter<?,?>> converterClass)
      Specified by:
      addAttributeConverter in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addRegisteredConversion

      public void addRegisteredConversion(org.hibernate.boot.model.convert.spi.RegisteredConversion conversion)
      Specified by:
      addRegisteredConversion in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getAttributeConverterAutoApplyHandler

      public org.hibernate.boot.model.convert.spi.ConverterAutoApplyHandler getAttributeConverterAutoApplyHandler()
      Specified by:
      getAttributeConverterAutoApplyHandler in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addSecondPass

      public void addSecondPass(org.hibernate.boot.spi.SecondPass secondPass)
      Specified by:
      addSecondPass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addSecondPass

      public void addSecondPass(org.hibernate.boot.spi.SecondPass sp, boolean onTopOfTheQueue)
      Specified by:
      addSecondPass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addTableNameBinding

      public void addTableNameBinding(org.hibernate.boot.model.naming.Identifier logicalName, org.hibernate.mapping.Table table)
      Specified by:
      addTableNameBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addTableNameBinding

      public void addTableNameBinding(String schema, String catalog, String logicalName, String realTableName, org.hibernate.mapping.Table denormalizedSuperTable)
      Specified by:
      addTableNameBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getLogicalTableName

      public String getLogicalTableName(org.hibernate.mapping.Table ownerTable)
      Specified by:
      getLogicalTableName in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPhysicalTableName

      public String getPhysicalTableName(org.hibernate.boot.model.naming.Identifier logicalName)
      Specified by:
      getPhysicalTableName in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPhysicalTableName

      public String getPhysicalTableName(String logicalName)
      Specified by:
      getPhysicalTableName in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addColumnNameBinding

      public void addColumnNameBinding(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier logicalColumnName, org.hibernate.mapping.Column column)
      Specified by:
      addColumnNameBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addColumnNameBinding

      public void addColumnNameBinding(org.hibernate.mapping.Table table, String logicalColumnName, org.hibernate.mapping.Column column)
      Specified by:
      addColumnNameBinding in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPhysicalColumnName

      public String getPhysicalColumnName(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier logicalName) throws org.hibernate.MappingException
      Specified by:
      getPhysicalColumnName in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.MappingException
    • getPhysicalColumnName

      public String getPhysicalColumnName(org.hibernate.mapping.Table table, String logicalName) throws org.hibernate.MappingException
      Specified by:
      getPhysicalColumnName in interface org.hibernate.boot.spi.InFlightMetadataCollector
      Throws:
      org.hibernate.MappingException
    • getLogicalColumnName

      public String getLogicalColumnName(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier physicalName)
      Specified by:
      getLogicalColumnName in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getLogicalColumnName

      public String getLogicalColumnName(org.hibernate.mapping.Table table, String physicalName)
      Specified by:
      getLogicalColumnName in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDefaultIdentifierGenerator

      public void addDefaultIdentifierGenerator(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition)
      Specified by:
      addDefaultIdentifierGenerator in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDefaultQuery

      public void addDefaultQuery(org.hibernate.boot.query.NamedHqlQueryDefinition<?> queryDefinition)
      Specified by:
      addDefaultQuery in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDefaultNamedNativeQuery

      public void addDefaultNamedNativeQuery(org.hibernate.boot.query.NamedNativeQueryDefinition<?> query)
      Specified by:
      addDefaultNamedNativeQuery in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDefaultResultSetMapping

      public void addDefaultResultSetMapping(org.hibernate.boot.query.NamedResultSetMappingDescriptor definition)
      Specified by:
      addDefaultResultSetMapping in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDefaultNamedProcedureCall

      public void addDefaultNamedProcedureCall(org.hibernate.boot.internal.NamedProcedureCallDefinitionImpl procedureCallDefinition)
      Specified by:
      addDefaultNamedProcedureCall in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addClassType

      public org.hibernate.boot.model.internal.AnnotatedClassType addClassType(org.hibernate.models.spi.ClassDetails classDetails)
      Specified by:
      addClassType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getClassType

      public org.hibernate.boot.model.internal.AnnotatedClassType getClassType(org.hibernate.models.spi.ClassDetails classDetails)
      Specified by:
      getClassType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addMappedSuperclass

      public void addMappedSuperclass(Class<?> type, org.hibernate.mapping.MappedSuperclass mappedSuperclass)
      Specified by:
      addMappedSuperclass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getMappedSuperclass

      public org.hibernate.mapping.MappedSuperclass getMappedSuperclass(Class<?> type)
      Specified by:
      getMappedSuperclass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPropertyAnnotatedWithMapsId

      public org.hibernate.boot.spi.PropertyData getPropertyAnnotatedWithMapsId(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName)
      Specified by:
      getPropertyAnnotatedWithMapsId in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addPropertyAnnotatedWithMapsId

      public void addPropertyAnnotatedWithMapsId(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement)
      Specified by:
      addPropertyAnnotatedWithMapsId in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addToOneAndIdProperty

      public void addToOneAndIdProperty(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement)
      Specified by:
      addToOneAndIdProperty in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPropertyAnnotatedWithIdAndToOne

      public org.hibernate.boot.spi.PropertyData getPropertyAnnotatedWithIdAndToOne(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName)
      Specified by:
      getPropertyAnnotatedWithIdAndToOne in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • isInSecondPass

      public boolean isInSecondPass()
      Specified by:
      isInSecondPass in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • locateNaturalIdUniqueKeyBinder

      public org.hibernate.boot.spi.NaturalIdUniqueKeyBinder locateNaturalIdUniqueKeyBinder(String entityName)
      Specified by:
      locateNaturalIdUniqueKeyBinder in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerNaturalIdUniqueKeyBinder

      public void registerNaturalIdUniqueKeyBinder(String entityName, org.hibernate.boot.spi.NaturalIdUniqueKeyBinder ukBinder)
      Specified by:
      registerNaturalIdUniqueKeyBinder in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerValueMappingResolver

      public void registerValueMappingResolver(Function<org.hibernate.boot.spi.MetadataBuildingContext,Boolean> resolver)
      Specified by:
      registerValueMappingResolver in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addJavaTypeRegistration

      public void addJavaTypeRegistration(Class<?> javaType, org.hibernate.type.descriptor.java.JavaType<?> jtd)
      Specified by:
      addJavaTypeRegistration in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addJdbcTypeRegistration

      public void addJdbcTypeRegistration(int typeCode, org.hibernate.type.descriptor.jdbc.JdbcType jdbcType)
      Specified by:
      addJdbcTypeRegistration in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerEmbeddableInstantiator

      public void registerEmbeddableInstantiator(Class<?> embeddableType, Class<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> instantiator)
      Specified by:
      registerEmbeddableInstantiator in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • findRegisteredEmbeddableInstantiator

      public Class<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> findRegisteredEmbeddableInstantiator(Class<?> embeddableType)
      Specified by:
      findRegisteredEmbeddableInstantiator in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerCompositeUserType

      public void registerCompositeUserType(Class<?> embeddableType, Class<? extends org.hibernate.usertype.CompositeUserType<?>> userType)
      Specified by:
      registerCompositeUserType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • findRegisteredCompositeUserType

      public Class<? extends org.hibernate.usertype.CompositeUserType<?>> findRegisteredCompositeUserType(Class<?> embeddableType)
      Specified by:
      findRegisteredCompositeUserType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • registerUserType

      public void registerUserType(Class<?> embeddableType, Class<? extends org.hibernate.usertype.UserType<?>> userType)
      Specified by:
      registerUserType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • findRegisteredUserType

      public Class<? extends org.hibernate.usertype.UserType<?>> findRegisteredUserType(Class<?> basicType)
      Specified by:
      findRegisteredUserType in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addCollectionTypeRegistration

      public void addCollectionTypeRegistration(org.hibernate.annotations.CollectionTypeRegistration registrationAnnotation)
      Specified by:
      addCollectionTypeRegistration in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addCollectionTypeRegistration

      public void addCollectionTypeRegistration(org.hibernate.metamodel.CollectionClassification classification, org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor descriptor)
      Specified by:
      addCollectionTypeRegistration in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • findCollectionTypeRegistration

      public org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor findCollectionTypeRegistration(org.hibernate.metamodel.CollectionClassification classification)
      Specified by:
      findCollectionTypeRegistration in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addDelayedPropertyReferenceHandler

      public void addDelayedPropertyReferenceHandler(org.hibernate.boot.spi.InFlightMetadataCollector.DelayedPropertyReferenceHandler handler)
      Specified by:
      addDelayedPropertyReferenceHandler in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addPropertyReference

      public void addPropertyReference(String entityName, String propertyName)
      Specified by:
      addPropertyReference in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addUniquePropertyReference

      public void addUniquePropertyReference(String entityName, String propertyName)
      Specified by:
      addUniquePropertyReference in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addPropertyReferencedAssociation

      public void addPropertyReferencedAssociation(String entityName, String propertyName, String syntheticPropertyName)
      Specified by:
      addPropertyReferencedAssociation in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getPropertyReferencedAssociation

      public String getPropertyReferencedAssociation(String entityName, String mappedBy)
      Specified by:
      getPropertyReferencedAssociation in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addMappedBy

      public void addMappedBy(String name, String mappedBy, String propertyName)
      Specified by:
      addMappedBy in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getFromMappedBy

      public String getFromMappedBy(String ownerEntityName, String propertyName)
      Specified by:
      getFromMappedBy in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getEntityTableXref

      public org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref getEntityTableXref(String entityName)
      Specified by:
      getEntityTableXref in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • addEntityTableXref

      public org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref addEntityTableXref(String entityName, org.hibernate.boot.model.naming.Identifier primaryTableLogicalName, org.hibernate.mapping.Table primaryTable, org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref superEntityTableXref)
      Specified by:
      addEntityTableXref in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getJoins

      public Map<String,org.hibernate.mapping.Join> getJoins(String entityName)
      Specified by:
      getJoins in interface org.hibernate.boot.spi.InFlightMetadataCollector
    • getSessionFactoryBuilder

      public org.hibernate.boot.SessionFactoryBuilder getSessionFactoryBuilder()
      Specified by:
      getSessionFactoryBuilder in interface org.hibernate.boot.Metadata
    • buildSessionFactory

      public org.hibernate.engine.spi.SessionFactoryImplementor buildSessionFactory()
      Specified by:
      buildSessionFactory in interface org.hibernate.boot.Metadata
      Specified by:
      buildSessionFactory in interface org.hibernate.boot.spi.MetadataImplementor
    • getUUID

      public UUID getUUID()
      Specified by:
      getUUID in interface org.hibernate.boot.Metadata
    • getEntityBindings

      public Collection<org.hibernate.mapping.PersistentClass> getEntityBindings()
      Specified by:
      getEntityBindings in interface org.hibernate.boot.Metadata
    • getEntityBinding

      public org.hibernate.mapping.PersistentClass getEntityBinding(String entityName)
      Specified by:
      getEntityBinding in interface org.hibernate.boot.Metadata
    • getCollectionBindings

      public Collection<org.hibernate.mapping.Collection> getCollectionBindings()
      Specified by:
      getCollectionBindings in interface org.hibernate.boot.Metadata
    • getCollectionBinding

      public org.hibernate.mapping.Collection getCollectionBinding(String role)
      Specified by:
      getCollectionBinding in interface org.hibernate.boot.Metadata
    • getImports

      public Map<String,String> getImports()
      Specified by:
      getImports in interface org.hibernate.boot.Metadata
    • getNamedHqlQueryMapping

      public org.hibernate.boot.query.NamedHqlQueryDefinition<?> getNamedHqlQueryMapping(String name)
      Specified by:
      getNamedHqlQueryMapping in interface org.hibernate.boot.Metadata
    • visitNamedHqlQueryDefinitions

      public void visitNamedHqlQueryDefinitions(Consumer<org.hibernate.boot.query.NamedHqlQueryDefinition<?>> definitionConsumer)
      Specified by:
      visitNamedHqlQueryDefinitions in interface org.hibernate.boot.Metadata
    • getNamedNativeQueryMapping

      public org.hibernate.boot.query.NamedNativeQueryDefinition<?> getNamedNativeQueryMapping(String name)
      Specified by:
      getNamedNativeQueryMapping in interface org.hibernate.boot.Metadata
    • visitNamedNativeQueryDefinitions

      public void visitNamedNativeQueryDefinitions(Consumer<org.hibernate.boot.query.NamedNativeQueryDefinition<?>> definitionConsumer)
      Specified by:
      visitNamedNativeQueryDefinitions in interface org.hibernate.boot.Metadata
    • getNamedProcedureCallMapping

      public org.hibernate.boot.query.NamedProcedureCallDefinition getNamedProcedureCallMapping(String name)
      Specified by:
      getNamedProcedureCallMapping in interface org.hibernate.boot.Metadata
    • visitNamedProcedureCallDefinition

      public void visitNamedProcedureCallDefinition(Consumer<org.hibernate.boot.query.NamedProcedureCallDefinition> definitionConsumer)
      Specified by:
      visitNamedProcedureCallDefinition in interface org.hibernate.boot.Metadata
    • getResultSetMapping

      public org.hibernate.boot.query.NamedResultSetMappingDescriptor getResultSetMapping(String name)
      Specified by:
      getResultSetMapping in interface org.hibernate.boot.Metadata
    • visitNamedResultSetMappingDefinition

      public void visitNamedResultSetMappingDefinition(Consumer<org.hibernate.boot.query.NamedResultSetMappingDescriptor> definitionConsumer)
      Specified by:
      visitNamedResultSetMappingDefinition in interface org.hibernate.boot.Metadata
    • getTypeDefinition

      public org.hibernate.boot.model.TypeDefinition getTypeDefinition(String typeName)
      Specified by:
      getTypeDefinition in interface org.hibernate.boot.Metadata
    • getFilterDefinitions

      public Map<String,org.hibernate.engine.spi.FilterDefinition> getFilterDefinitions()
      Specified by:
      getFilterDefinitions in interface org.hibernate.boot.Metadata
    • getFilterDefinition

      public org.hibernate.engine.spi.FilterDefinition getFilterDefinition(String name)
      Specified by:
      getFilterDefinition in interface org.hibernate.boot.Metadata
    • getFetchProfile

      public org.hibernate.mapping.FetchProfile getFetchProfile(String name)
      Specified by:
      getFetchProfile in interface org.hibernate.boot.Metadata
    • getFetchProfiles

      public Collection<org.hibernate.mapping.FetchProfile> getFetchProfiles()
      Specified by:
      getFetchProfiles in interface org.hibernate.boot.Metadata
    • getNamedEntityGraph

      public org.hibernate.boot.model.NamedEntityGraphDefinition getNamedEntityGraph(String name)
      Specified by:
      getNamedEntityGraph in interface org.hibernate.boot.Metadata
    • getNamedEntityGraphs

      public Map<String,org.hibernate.boot.model.NamedEntityGraphDefinition> getNamedEntityGraphs()
      Specified by:
      getNamedEntityGraphs in interface org.hibernate.boot.Metadata
    • getIdentifierGenerator

      public org.hibernate.boot.model.IdentifierGeneratorDefinition getIdentifierGenerator(String name)
      Specified by:
      getIdentifierGenerator in interface org.hibernate.boot.Metadata
    • collectTableMappings

      public Collection<org.hibernate.mapping.Table> collectTableMappings()
      Specified by:
      collectTableMappings in interface org.hibernate.boot.Metadata
    • getSqlFunctionMap

      public Map<String,org.hibernate.query.sqm.function.SqmFunctionDescriptor> getSqlFunctionMap()
      Specified by:
      getSqlFunctionMap in interface org.hibernate.boot.Metadata
    • getContributors

      public Set<String> getContributors()
      Specified by:
      getContributors in interface org.hibernate.boot.Metadata
    • buildNamedQueryRepository

      public org.hibernate.query.named.NamedObjectRepository buildNamedQueryRepository()
      Specified by:
      buildNamedQueryRepository in interface org.hibernate.boot.spi.MetadataImplementor
    • orderColumns

      public void orderColumns(boolean forceOrdering)
      Specified by:
      orderColumns in interface org.hibernate.boot.spi.MetadataImplementor
    • validate

      public void validate() throws org.hibernate.MappingException
      Specified by:
      validate in interface org.hibernate.boot.spi.MetadataImplementor
      Throws:
      org.hibernate.MappingException
    • getMappedSuperclassMappingsCopy

      public Set<org.hibernate.mapping.MappedSuperclass> getMappedSuperclassMappingsCopy()
      Specified by:
      getMappedSuperclassMappingsCopy in interface org.hibernate.boot.spi.MetadataImplementor
    • initSessionFactory

      public void initSessionFactory(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor)
      Specified by:
      initSessionFactory in interface org.hibernate.boot.spi.MetadataImplementor
    • visitRegisteredComponents

      public void visitRegisteredComponents(Consumer<org.hibernate.mapping.Component> consumer)
      Specified by:
      visitRegisteredComponents in interface org.hibernate.boot.spi.MetadataImplementor
    • getGenericComponent

      public org.hibernate.mapping.Component getGenericComponent(Class<?> componentClass)
      Specified by:
      getGenericComponent in interface org.hibernate.boot.spi.MetadataImplementor
    • resolveEmbeddableDiscriminatorType

      public org.hibernate.metamodel.mapping.DiscriminatorType<?> resolveEmbeddableDiscriminatorType(Class<?> embeddableClass, Supplier<org.hibernate.metamodel.mapping.DiscriminatorType<?>> supplier)
      Specified by:
      resolveEmbeddableDiscriminatorType in interface org.hibernate.boot.spi.MetadataImplementor
    • getIdentifierType

      public org.hibernate.type.Type getIdentifierType(String className) throws org.hibernate.MappingException
      Specified by:
      getIdentifierType in interface org.hibernate.type.MappingContext
      Throws:
      org.hibernate.MappingException
    • getIdentifierPropertyName

      public String getIdentifierPropertyName(String className) throws org.hibernate.MappingException
      Specified by:
      getIdentifierPropertyName in interface org.hibernate.type.MappingContext
      Throws:
      org.hibernate.MappingException
    • getReferencedPropertyType

      public org.hibernate.type.Type getReferencedPropertyType(String className, String propertyName) throws org.hibernate.MappingException
      Specified by:
      getReferencedPropertyType in interface org.hibernate.type.MappingContext
      Throws:
      org.hibernate.MappingException