Package org.hibernate.testing.orm.junit
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.boot.spi.InFlightMetadataCollector
org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor, org.hibernate.boot.spi.InFlightMetadataCollector.DelayedPropertyReferenceHandler, org.hibernate.boot.spi.InFlightMetadataCollector.DuplicateSecondaryTableException, org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref
-
Constructor Summary
ConstructorsConstructorDescriptionFakeMetadataBuildingContext
(org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.query.sqm.function.SqmFunctionRegistry functionRegistry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttributeConverter
(Class<? extends AttributeConverter<?, ?>> converterClass) void
addAttributeConverter
(org.hibernate.boot.model.convert.spi.ConverterDescriptor descriptor) void
addAuxiliaryDatabaseObject
(org.hibernate.boot.model.relational.AuxiliaryDatabaseObject auxiliaryDatabaseObject) org.hibernate.boot.model.internal.AnnotatedClassType
addClassType
(org.hibernate.models.spi.ClassDetails classDetails) void
addCollectionBinding
(org.hibernate.mapping.Collection collection) void
addCollectionTypeRegistration
(org.hibernate.annotations.CollectionTypeRegistration registrationAnnotation) void
addCollectionTypeRegistration
(org.hibernate.metamodel.CollectionClassification classification, org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor descriptor) void
addColumnNameBinding
(org.hibernate.mapping.Table table, String logicalColumnName, org.hibernate.mapping.Column column) void
addColumnNameBinding
(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier logicalColumnName, org.hibernate.mapping.Column column) void
addDefaultIdentifierGenerator
(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition) void
addDefaultNamedNativeQuery
(org.hibernate.boot.query.NamedNativeQueryDefinition<?> query) void
addDefaultNamedProcedureCall
(org.hibernate.boot.internal.NamedProcedureCallDefinitionImpl procedureCallDefinition) void
addDefaultQuery
(org.hibernate.boot.query.NamedHqlQueryDefinition<?> queryDefinition) void
addDefaultResultSetMapping
(org.hibernate.boot.query.NamedResultSetMappingDescriptor definition) void
addDelayedPropertyReferenceHandler
(org.hibernate.boot.spi.InFlightMetadataCollector.DelayedPropertyReferenceHandler handler) 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) void
addEntityBinding
(org.hibernate.mapping.PersistentClass persistentClass) 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) void
addFetchProfile
(org.hibernate.mapping.FetchProfile profile) void
addFilterDefinition
(org.hibernate.engine.spi.FilterDefinition definition) void
addIdentifierGenerator
(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition) void
void
addJavaTypeRegistration
(Class<?> javaType, org.hibernate.type.descriptor.java.JavaType<?> jtd) void
addJdbcTypeRegistration
(int typeCode, org.hibernate.type.descriptor.jdbc.JdbcType jdbcType) void
addMappedBy
(String name, String mappedBy, String propertyName) void
addMappedSuperclass
(Class<?> type, org.hibernate.mapping.MappedSuperclass mappedSuperclass) void
addNamedEntityGraph
(org.hibernate.boot.model.NamedEntityGraphDefinition namedEntityGraphDefinition) void
addNamedNativeQuery
(org.hibernate.boot.query.NamedNativeQueryDefinition<?> query) void
addNamedProcedureCallDefinition
(org.hibernate.boot.query.NamedProcedureCallDefinition definition) void
addNamedQuery
(org.hibernate.boot.query.NamedHqlQueryDefinition<?> query) void
addPropertyAnnotatedWithMapsId
(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement) void
addPropertyReference
(String entityName, String propertyName) void
addPropertyReferencedAssociation
(String entityName, String propertyName, String syntheticPropertyName) void
addRegisteredConversion
(org.hibernate.boot.model.convert.spi.RegisteredConversion conversion) void
addResultSetMapping
(org.hibernate.boot.query.NamedResultSetMappingDescriptor resultSetMappingDefinition) void
addSecondPass
(org.hibernate.boot.spi.SecondPass secondPass) void
addSecondPass
(org.hibernate.boot.spi.SecondPass sp, boolean onTopOfTheQueue) org.hibernate.mapping.Table
addTable
(String schema, String catalog, String name, String subselect, boolean isAbstract, org.hibernate.boot.spi.MetadataBuildingContext buildingContext) void
addTableNameBinding
(String schema, String catalog, String logicalName, String realTableName, org.hibernate.mapping.Table denormalizedSuperTable) void
addTableNameBinding
(org.hibernate.boot.model.naming.Identifier logicalName, org.hibernate.mapping.Table table) void
addToOneAndIdProperty
(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement) void
addTypeDefinition
(org.hibernate.boot.model.TypeDefinition typeDefinition) void
addUniquePropertyReference
(String entityName, String propertyName) org.hibernate.query.named.NamedObjectRepository
org.hibernate.engine.spi.SessionFactoryImplementor
Collection
<org.hibernate.mapping.Table> org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor
findCollectionTypeRegistration
(org.hibernate.metamodel.CollectionClassification classification) Class
<? extends org.hibernate.usertype.CompositeUserType<?>> findRegisteredCompositeUserType
(Class<?> embeddableType) Class
<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> findRegisteredEmbeddableInstantiator
(Class<?> embeddableType) Class
<? extends org.hibernate.usertype.UserType<?>> findRegisteredUserType
(Class<?> basicType) org.hibernate.boot.model.convert.spi.ConverterAutoApplyHandler
org.hibernate.boot.spi.BootstrapContext
org.hibernate.boot.spi.MetadataBuildingOptions
org.hibernate.boot.model.internal.AnnotatedClassType
getClassType
(org.hibernate.models.spi.ClassDetails classDetails) org.hibernate.mapping.Collection
getCollectionBinding
(String role) Collection
<org.hibernate.mapping.Collection> org.hibernate.boot.model.convert.spi.ConverterRegistry
org.hibernate.boot.model.relational.Database
org.hibernate.boot.spi.EffectiveMappingDefaults
List
<org.hibernate.models.spi.ClassDetails> getEmbeddableSubclasses
(org.hibernate.models.spi.ClassDetails superclass) org.hibernate.mapping.PersistentClass
getEntityBinding
(String entityName) Collection
<org.hibernate.mapping.PersistentClass> org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref
getEntityTableXref
(String entityName) org.hibernate.mapping.FetchProfile
getFetchProfile
(String name) Collection
<org.hibernate.mapping.FetchProfile> org.hibernate.engine.spi.FilterDefinition
getFilterDefinition
(String name) getFromMappedBy
(String ownerEntityName, String propertyName) org.hibernate.query.sqm.function.SqmFunctionRegistry
org.hibernate.mapping.Component
getGenericComponent
(Class<?> componentClass) org.hibernate.boot.models.spi.GlobalRegistrations
org.hibernate.boot.model.IdentifierGeneratorDefinition
getIdentifierGenerator
(String name) getIdentifierPropertyName
(String className) org.hibernate.type.Type
getIdentifierType
(String className) getLogicalColumnName
(org.hibernate.mapping.Table table, String physicalName) getLogicalColumnName
(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier physicalName) getLogicalTableName
(org.hibernate.mapping.Table ownerTable) org.hibernate.mapping.MappedSuperclass
getMappedSuperclass
(Class<?> type) Set
<org.hibernate.mapping.MappedSuperclass> org.hibernate.boot.spi.MetadataBuildingOptions
org.hibernate.boot.spi.InFlightMetadataCollector
org.hibernate.boot.model.NamedEntityGraphDefinition
getNamedEntityGraph
(String name) org.hibernate.boot.query.NamedHqlQueryDefinition
<?> org.hibernate.boot.query.NamedNativeQueryDefinition
<?> org.hibernate.boot.query.NamedProcedureCallDefinition
org.hibernate.boot.model.naming.ObjectNameNormalizer
org.hibernate.boot.models.xml.spi.PersistenceUnitMetadata
getPhysicalColumnName
(org.hibernate.mapping.Table table, String logicalName) getPhysicalColumnName
(org.hibernate.mapping.Table table, org.hibernate.boot.model.naming.Identifier logicalName) getPhysicalTableName
(String logicalName) getPhysicalTableName
(org.hibernate.boot.model.naming.Identifier logicalName) org.hibernate.boot.spi.PropertyData
getPropertyAnnotatedWithIdAndToOne
(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName) org.hibernate.boot.spi.PropertyData
getPropertyAnnotatedWithMapsId
(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName) getPropertyReferencedAssociation
(String entityName, String mappedBy) org.hibernate.type.Type
getReferencedPropertyType
(String className, String propertyName) org.hibernate.boot.query.NamedResultSetMappingDescriptor
getResultSetMapping
(String name) org.hibernate.boot.SessionFactoryBuilder
org.hibernate.type.spi.TypeConfiguration
org.hibernate.boot.model.TypeDefinition
getTypeDefinition
(String typeName) org.hibernate.boot.model.TypeDefinitionRegistry
getUUID()
void
initSessionFactory
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor) boolean
org.hibernate.boot.spi.NaturalIdUniqueKeyBinder
locateNaturalIdUniqueKeyBinder
(String entityName) void
orderColumns
(boolean forceOrdering) void
registerComponent
(org.hibernate.mapping.Component component) void
registerCompositeUserType
(Class<?> embeddableType, Class<? extends org.hibernate.usertype.CompositeUserType<?>> userType) void
registerEmbeddableInstantiator
(Class<?> embeddableType, Class<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> instantiator) void
registerEmbeddableSubclass
(org.hibernate.models.spi.ClassDetails superclass, org.hibernate.models.spi.ClassDetails subclass) void
registerGenericComponent
(org.hibernate.mapping.Component component) void
registerNaturalIdUniqueKeyBinder
(String entityName, org.hibernate.boot.spi.NaturalIdUniqueKeyBinder ukBinder) void
registerUserType
(Class<?> embeddableType, Class<? extends org.hibernate.usertype.UserType<?>> userType) void
registerValueMappingResolver
(Function<org.hibernate.boot.spi.MetadataBuildingContext, Boolean> resolver) org.hibernate.metamodel.mapping.DiscriminatorType
<?> resolveEmbeddableDiscriminatorType
(Class<?> embeddableClass, Supplier<org.hibernate.metamodel.mapping.DiscriminatorType<?>> supplier) void
validate()
void
visitNamedHqlQueryDefinitions
(Consumer<org.hibernate.boot.query.NamedHqlQueryDefinition<?>> definitionConsumer) void
visitNamedNativeQueryDefinitions
(Consumer<org.hibernate.boot.query.NamedNativeQueryDefinition<?>> definitionConsumer) void
visitNamedProcedureCallDefinition
(Consumer<org.hibernate.boot.query.NamedProcedureCallDefinition> definitionConsumer) void
visitNamedResultSetMappingDefinition
(Consumer<org.hibernate.boot.query.NamedResultSetMappingDescriptor> definitionConsumer) void
visitRegisteredComponents
(Consumer<org.hibernate.mapping.Component> consumer) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.spi.InFlightMetadataCollector
getAnnotationDescriptorRegistry, getClassDetailsRegistry, getModelsContext
Methods inherited from interface org.hibernate.boot.spi.MetadataBuildingContext
getPreferredSqlTypeCodeForArray, getPreferredSqlTypeCodeForBoolean, getPreferredSqlTypeCodeForDuration, getPreferredSqlTypeCodeForInstant, getPreferredSqlTypeCodeForUuid, isPreferJavaTimeJdbcTypesEnabled, isPreferNativeEnumTypesEnabled
-
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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
- Specified by:
getBootstrapContext
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getBuildingOptions
public org.hibernate.boot.spi.MetadataBuildingOptions getBuildingOptions()- Specified by:
getBuildingOptions
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getDatabase
public org.hibernate.boot.model.relational.Database getDatabase()- Specified by:
getDatabase
in interfaceorg.hibernate.boot.Metadata
-
getMetadataBuildingOptions
public org.hibernate.boot.spi.MetadataBuildingOptions getMetadataBuildingOptions()- Specified by:
getMetadataBuildingOptions
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getTypeConfiguration
public org.hibernate.type.spi.TypeConfiguration getTypeConfiguration()- Specified by:
getTypeConfiguration
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getFunctionRegistry
public org.hibernate.query.sqm.function.SqmFunctionRegistry getFunctionRegistry()- Specified by:
getFunctionRegistry
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getEffectiveDefaults
public org.hibernate.boot.spi.EffectiveMappingDefaults getEffectiveDefaults()- Specified by:
getEffectiveDefaults
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getMetadataCollector
public org.hibernate.boot.spi.InFlightMetadataCollector getMetadataCollector()- Specified by:
getMetadataCollector
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getObjectNameNormalizer
public org.hibernate.boot.model.naming.ObjectNameNormalizer getObjectNameNormalizer()- Specified by:
getObjectNameNormalizer
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getTypeDefinitionRegistry
public org.hibernate.boot.model.TypeDefinitionRegistry getTypeDefinitionRegistry()- Specified by:
getTypeDefinitionRegistry
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
- Specified by:
getTypeDefinitionRegistry
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getCurrentContributorName
- Specified by:
getCurrentContributorName
in interfaceorg.hibernate.boot.spi.MetadataBuildingContext
-
getGlobalRegistrations
public org.hibernate.boot.models.spi.GlobalRegistrations getGlobalRegistrations()- Specified by:
getGlobalRegistrations
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPersistenceUnitMetadata
public org.hibernate.boot.models.xml.spi.PersistenceUnitMetadata getPersistenceUnitMetadata()- Specified by:
getPersistenceUnitMetadata
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addEntityBinding
public void addEntityBinding(org.hibernate.mapping.PersistentClass persistentClass) throws org.hibernate.DuplicateMappingException - Specified by:
addEntityBinding
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
- Throws:
org.hibernate.DuplicateMappingException
-
getEntityBindingMap
- Specified by:
getEntityBindingMap
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerComponent
public void registerComponent(org.hibernate.mapping.Component component) - Specified by:
registerComponent
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerGenericComponent
public void registerGenericComponent(org.hibernate.mapping.Component component) - Specified by:
registerGenericComponent
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerEmbeddableSubclass
public void registerEmbeddableSubclass(org.hibernate.models.spi.ClassDetails superclass, org.hibernate.models.spi.ClassDetails subclass) - Specified by:
registerEmbeddableSubclass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getEmbeddableSubclasses
public List<org.hibernate.models.spi.ClassDetails> getEmbeddableSubclasses(org.hibernate.models.spi.ClassDetails superclass) - Specified by:
getEmbeddableSubclasses
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addImport
public void addImport(String importName, String className) throws org.hibernate.DuplicateMappingException - Specified by:
addImport
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
- Throws:
org.hibernate.DuplicateMappingException
-
addNamedEntityGraph
public void addNamedEntityGraph(org.hibernate.boot.model.NamedEntityGraphDefinition namedEntityGraphDefinition) - Specified by:
addNamedEntityGraph
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addTypeDefinition
public void addTypeDefinition(org.hibernate.boot.model.TypeDefinition typeDefinition) - Specified by:
addTypeDefinition
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addFilterDefinition
public void addFilterDefinition(org.hibernate.engine.spi.FilterDefinition definition) - Specified by:
addFilterDefinition
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addAuxiliaryDatabaseObject
public void addAuxiliaryDatabaseObject(org.hibernate.boot.model.relational.AuxiliaryDatabaseObject auxiliaryDatabaseObject) - Specified by:
addAuxiliaryDatabaseObject
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addFetchProfile
public void addFetchProfile(org.hibernate.mapping.FetchProfile profile) - Specified by:
addFetchProfile
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addIdentifierGenerator
public void addIdentifierGenerator(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition) - Specified by:
addIdentifierGenerator
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getConverterRegistry
public org.hibernate.boot.model.convert.spi.ConverterRegistry getConverterRegistry()- Specified by:
getConverterRegistry
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addAttributeConverter
public void addAttributeConverter(org.hibernate.boot.model.convert.spi.ConverterDescriptor descriptor) - Specified by:
addAttributeConverter
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addAttributeConverter
- Specified by:
addAttributeConverter
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addRegisteredConversion
public void addRegisteredConversion(org.hibernate.boot.model.convert.spi.RegisteredConversion conversion) - Specified by:
addRegisteredConversion
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getAttributeConverterAutoApplyHandler
public org.hibernate.boot.model.convert.spi.ConverterAutoApplyHandler getAttributeConverterAutoApplyHandler()- Specified by:
getAttributeConverterAutoApplyHandler
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addSecondPass
public void addSecondPass(org.hibernate.boot.spi.SecondPass secondPass) - Specified by:
addSecondPass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addSecondPass
public void addSecondPass(org.hibernate.boot.spi.SecondPass sp, boolean onTopOfTheQueue) - Specified by:
addSecondPass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addTableNameBinding
public void addTableNameBinding(org.hibernate.boot.model.naming.Identifier logicalName, org.hibernate.mapping.Table table) - Specified by:
addTableNameBinding
in interfaceorg.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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getLogicalTableName
- Specified by:
getLogicalTableName
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPhysicalTableName
- Specified by:
getPhysicalTableName
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPhysicalTableName
- Specified by:
getPhysicalTableName
in interfaceorg.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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addColumnNameBinding
public void addColumnNameBinding(org.hibernate.mapping.Table table, String logicalColumnName, org.hibernate.mapping.Column column) - Specified by:
addColumnNameBinding
in interfaceorg.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 interfaceorg.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 interfaceorg.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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getLogicalColumnName
- Specified by:
getLogicalColumnName
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDefaultIdentifierGenerator
public void addDefaultIdentifierGenerator(org.hibernate.boot.model.IdentifierGeneratorDefinition generatorDefinition) - Specified by:
addDefaultIdentifierGenerator
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDefaultQuery
public void addDefaultQuery(org.hibernate.boot.query.NamedHqlQueryDefinition<?> queryDefinition) - Specified by:
addDefaultQuery
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDefaultNamedNativeQuery
public void addDefaultNamedNativeQuery(org.hibernate.boot.query.NamedNativeQueryDefinition<?> query) - Specified by:
addDefaultNamedNativeQuery
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDefaultResultSetMapping
public void addDefaultResultSetMapping(org.hibernate.boot.query.NamedResultSetMappingDescriptor definition) - Specified by:
addDefaultResultSetMapping
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDefaultNamedProcedureCall
public void addDefaultNamedProcedureCall(org.hibernate.boot.internal.NamedProcedureCallDefinitionImpl procedureCallDefinition) - Specified by:
addDefaultNamedProcedureCall
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addClassType
public org.hibernate.boot.model.internal.AnnotatedClassType addClassType(org.hibernate.models.spi.ClassDetails classDetails) - Specified by:
addClassType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getClassType
public org.hibernate.boot.model.internal.AnnotatedClassType getClassType(org.hibernate.models.spi.ClassDetails classDetails) - Specified by:
getClassType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addMappedSuperclass
public void addMappedSuperclass(Class<?> type, org.hibernate.mapping.MappedSuperclass mappedSuperclass) - Specified by:
addMappedSuperclass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getMappedSuperclass
- Specified by:
getMappedSuperclass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPropertyAnnotatedWithMapsId
public org.hibernate.boot.spi.PropertyData getPropertyAnnotatedWithMapsId(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName) - Specified by:
getPropertyAnnotatedWithMapsId
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addPropertyAnnotatedWithMapsId
public void addPropertyAnnotatedWithMapsId(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement) - Specified by:
addPropertyAnnotatedWithMapsId
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addToOneAndIdProperty
public void addToOneAndIdProperty(org.hibernate.models.spi.ClassDetails entityClassDetails, org.hibernate.boot.spi.PropertyData propertyAnnotatedElement) - Specified by:
addToOneAndIdProperty
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPropertyAnnotatedWithIdAndToOne
public org.hibernate.boot.spi.PropertyData getPropertyAnnotatedWithIdAndToOne(org.hibernate.models.spi.ClassDetails persistentClassDetails, String propertyName) - Specified by:
getPropertyAnnotatedWithIdAndToOne
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
isInSecondPass
public boolean isInSecondPass()- Specified by:
isInSecondPass
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
locateNaturalIdUniqueKeyBinder
public org.hibernate.boot.spi.NaturalIdUniqueKeyBinder locateNaturalIdUniqueKeyBinder(String entityName) - Specified by:
locateNaturalIdUniqueKeyBinder
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerNaturalIdUniqueKeyBinder
public void registerNaturalIdUniqueKeyBinder(String entityName, org.hibernate.boot.spi.NaturalIdUniqueKeyBinder ukBinder) - Specified by:
registerNaturalIdUniqueKeyBinder
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerValueMappingResolver
public void registerValueMappingResolver(Function<org.hibernate.boot.spi.MetadataBuildingContext, Boolean> resolver) - Specified by:
registerValueMappingResolver
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addJavaTypeRegistration
public void addJavaTypeRegistration(Class<?> javaType, org.hibernate.type.descriptor.java.JavaType<?> jtd) - Specified by:
addJavaTypeRegistration
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addJdbcTypeRegistration
public void addJdbcTypeRegistration(int typeCode, org.hibernate.type.descriptor.jdbc.JdbcType jdbcType) - Specified by:
addJdbcTypeRegistration
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerEmbeddableInstantiator
public void registerEmbeddableInstantiator(Class<?> embeddableType, Class<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> instantiator) - Specified by:
registerEmbeddableInstantiator
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
findRegisteredEmbeddableInstantiator
public Class<? extends org.hibernate.metamodel.spi.EmbeddableInstantiator> findRegisteredEmbeddableInstantiator(Class<?> embeddableType) - Specified by:
findRegisteredEmbeddableInstantiator
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerCompositeUserType
public void registerCompositeUserType(Class<?> embeddableType, Class<? extends org.hibernate.usertype.CompositeUserType<?>> userType) - Specified by:
registerCompositeUserType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
findRegisteredCompositeUserType
public Class<? extends org.hibernate.usertype.CompositeUserType<?>> findRegisteredCompositeUserType(Class<?> embeddableType) - Specified by:
findRegisteredCompositeUserType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
registerUserType
public void registerUserType(Class<?> embeddableType, Class<? extends org.hibernate.usertype.UserType<?>> userType) - Specified by:
registerUserType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
findRegisteredUserType
public Class<? extends org.hibernate.usertype.UserType<?>> findRegisteredUserType(Class<?> basicType) - Specified by:
findRegisteredUserType
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addCollectionTypeRegistration
public void addCollectionTypeRegistration(org.hibernate.annotations.CollectionTypeRegistration registrationAnnotation) - Specified by:
addCollectionTypeRegistration
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addCollectionTypeRegistration
public void addCollectionTypeRegistration(org.hibernate.metamodel.CollectionClassification classification, org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor descriptor) - Specified by:
addCollectionTypeRegistration
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
findCollectionTypeRegistration
public org.hibernate.boot.spi.InFlightMetadataCollector.CollectionTypeRegistrationDescriptor findCollectionTypeRegistration(org.hibernate.metamodel.CollectionClassification classification) - Specified by:
findCollectionTypeRegistration
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addDelayedPropertyReferenceHandler
public void addDelayedPropertyReferenceHandler(org.hibernate.boot.spi.InFlightMetadataCollector.DelayedPropertyReferenceHandler handler) - Specified by:
addDelayedPropertyReferenceHandler
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addPropertyReference
- Specified by:
addPropertyReference
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addUniquePropertyReference
- Specified by:
addUniquePropertyReference
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addPropertyReferencedAssociation
public void addPropertyReferencedAssociation(String entityName, String propertyName, String syntheticPropertyName) - Specified by:
addPropertyReferencedAssociation
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getPropertyReferencedAssociation
- Specified by:
getPropertyReferencedAssociation
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
addMappedBy
- Specified by:
addMappedBy
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getFromMappedBy
- Specified by:
getFromMappedBy
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getEntityTableXref
public org.hibernate.boot.spi.InFlightMetadataCollector.EntityTableXref getEntityTableXref(String entityName) - Specified by:
getEntityTableXref
in interfaceorg.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 interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getJoins
- Specified by:
getJoins
in interfaceorg.hibernate.boot.spi.InFlightMetadataCollector
-
getSessionFactoryBuilder
public org.hibernate.boot.SessionFactoryBuilder getSessionFactoryBuilder()- Specified by:
getSessionFactoryBuilder
in interfaceorg.hibernate.boot.Metadata
-
buildSessionFactory
public org.hibernate.engine.spi.SessionFactoryImplementor buildSessionFactory()- Specified by:
buildSessionFactory
in interfaceorg.hibernate.boot.Metadata
- Specified by:
buildSessionFactory
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getUUID
- Specified by:
getUUID
in interfaceorg.hibernate.boot.Metadata
-
getEntityBindings
- Specified by:
getEntityBindings
in interfaceorg.hibernate.boot.Metadata
-
getEntityBinding
- Specified by:
getEntityBinding
in interfaceorg.hibernate.boot.Metadata
-
getCollectionBindings
- Specified by:
getCollectionBindings
in interfaceorg.hibernate.boot.Metadata
-
getCollectionBinding
- Specified by:
getCollectionBinding
in interfaceorg.hibernate.boot.Metadata
-
getImports
- Specified by:
getImports
in interfaceorg.hibernate.boot.Metadata
-
getNamedHqlQueryMapping
- Specified by:
getNamedHqlQueryMapping
in interfaceorg.hibernate.boot.Metadata
-
visitNamedHqlQueryDefinitions
public void visitNamedHqlQueryDefinitions(Consumer<org.hibernate.boot.query.NamedHqlQueryDefinition<?>> definitionConsumer) - Specified by:
visitNamedHqlQueryDefinitions
in interfaceorg.hibernate.boot.Metadata
-
getNamedNativeQueryMapping
public org.hibernate.boot.query.NamedNativeQueryDefinition<?> getNamedNativeQueryMapping(String name) - Specified by:
getNamedNativeQueryMapping
in interfaceorg.hibernate.boot.Metadata
-
visitNamedNativeQueryDefinitions
public void visitNamedNativeQueryDefinitions(Consumer<org.hibernate.boot.query.NamedNativeQueryDefinition<?>> definitionConsumer) - Specified by:
visitNamedNativeQueryDefinitions
in interfaceorg.hibernate.boot.Metadata
-
getNamedProcedureCallMapping
public org.hibernate.boot.query.NamedProcedureCallDefinition getNamedProcedureCallMapping(String name) - Specified by:
getNamedProcedureCallMapping
in interfaceorg.hibernate.boot.Metadata
-
visitNamedProcedureCallDefinition
public void visitNamedProcedureCallDefinition(Consumer<org.hibernate.boot.query.NamedProcedureCallDefinition> definitionConsumer) - Specified by:
visitNamedProcedureCallDefinition
in interfaceorg.hibernate.boot.Metadata
-
getResultSetMapping
- Specified by:
getResultSetMapping
in interfaceorg.hibernate.boot.Metadata
-
visitNamedResultSetMappingDefinition
public void visitNamedResultSetMappingDefinition(Consumer<org.hibernate.boot.query.NamedResultSetMappingDescriptor> definitionConsumer) - Specified by:
visitNamedResultSetMappingDefinition
in interfaceorg.hibernate.boot.Metadata
-
getTypeDefinition
- Specified by:
getTypeDefinition
in interfaceorg.hibernate.boot.Metadata
-
getFilterDefinitions
- Specified by:
getFilterDefinitions
in interfaceorg.hibernate.boot.Metadata
-
getFilterDefinition
- Specified by:
getFilterDefinition
in interfaceorg.hibernate.boot.Metadata
-
getFetchProfile
- Specified by:
getFetchProfile
in interfaceorg.hibernate.boot.Metadata
-
getFetchProfiles
- Specified by:
getFetchProfiles
in interfaceorg.hibernate.boot.Metadata
-
getNamedEntityGraph
- Specified by:
getNamedEntityGraph
in interfaceorg.hibernate.boot.Metadata
-
getNamedEntityGraphs
- Specified by:
getNamedEntityGraphs
in interfaceorg.hibernate.boot.Metadata
-
getIdentifierGenerator
- Specified by:
getIdentifierGenerator
in interfaceorg.hibernate.boot.Metadata
-
collectTableMappings
- Specified by:
collectTableMappings
in interfaceorg.hibernate.boot.Metadata
-
getSqlFunctionMap
- Specified by:
getSqlFunctionMap
in interfaceorg.hibernate.boot.Metadata
-
getContributors
- Specified by:
getContributors
in interfaceorg.hibernate.boot.Metadata
-
buildNamedQueryRepository
public org.hibernate.query.named.NamedObjectRepository buildNamedQueryRepository()- Specified by:
buildNamedQueryRepository
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
orderColumns
public void orderColumns(boolean forceOrdering) - Specified by:
orderColumns
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
validate
public void validate() throws org.hibernate.MappingException- Specified by:
validate
in interfaceorg.hibernate.boot.spi.MetadataImplementor
- Throws:
org.hibernate.MappingException
-
getMappedSuperclassMappingsCopy
- Specified by:
getMappedSuperclassMappingsCopy
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
initSessionFactory
public void initSessionFactory(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactoryImplementor) - Specified by:
initSessionFactory
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
visitRegisteredComponents
- Specified by:
visitRegisteredComponents
in interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getGenericComponent
- Specified by:
getGenericComponent
in interfaceorg.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 interfaceorg.hibernate.boot.spi.MetadataImplementor
-
getIdentifierType
public org.hibernate.type.Type getIdentifierType(String className) throws org.hibernate.MappingException - Specified by:
getIdentifierType
in interfaceorg.hibernate.type.MappingContext
- Throws:
org.hibernate.MappingException
-
getIdentifierPropertyName
- Specified by:
getIdentifierPropertyName
in interfaceorg.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 interfaceorg.hibernate.type.MappingContext
- Throws:
org.hibernate.MappingException
-