Uses of Interface
org.hibernate.boot.spi.MetadataBuildingContext
Packages that use MetadataBuildingContext
Package
Description
This package defines an easy way to extend Hibernate with user-defined
annotations that define customized O/R mappings of annotated entities
and annotated entity attributes.
Built-in implementations of
AttributeBinder
and TypeBinder
.This package defines the boot-time metamodel, which is an interpretation
of the domain model (entity classes, embeddable classes, and attributes)
and the mapping of these "domain model parts" to the database.
Defines the SPI of a
registry
of JPA
AttributeConverter
s.This API allows intervention by generic code in the process of determining the names of
database objects (tables, columns, and constraints).
Support for handling named queries during the bootstrap process.
A range of SPIs allowing integration with—and customization of—the process of building metadata.
This package and its subpackages, especially
org.hibernate.id.enhanced
,
contain the built-in id generators, all of which implement either
IdentifierGenerator
or
PostInsertIdentifierGenerator
.Internal details of implementing support for JPA callbacks
This package defines the Hibernate configuration-time mapping model.
Validation for HQL queries.
Defines a registry for Hibernate
Type
s.-
Uses of MetadataBuildingContext in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
AttributeBinder.bind
(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.void
TypeBinder.bind
(A annotation, MetadataBuildingContext buildingContext, Component embeddableClass) Perform some custom configuration of the model relating to the given annotated embeddable class.void
TypeBinder.bind
(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass) Perform some custom configuration of the model relating to the given annotated entity class. -
Uses of MetadataBuildingContext in org.hibernate.binder.internal
Methods in org.hibernate.binder.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
AttributeAccessorBinder.bind
(AttributeAccessor accessor, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) void
BatchSizeBinder.bind
(BatchSize batchSize, MetadataBuildingContext context, Component embeddableClass) void
BatchSizeBinder.bind
(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass) void
BatchSizeBinder.bind
(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass, Property property) void
CollateBinder.bind
(Collate collate, MetadataBuildingContext context, PersistentClass entity, Property property) void
CommentBinder.bind
(Comment comment, MetadataBuildingContext context, Component embeddable) void
CommentBinder.bind
(Comment comment, MetadataBuildingContext context, PersistentClass entity) void
CommentBinder.bind
(Comment comment, MetadataBuildingContext context, PersistentClass entity, Property property) void
CommentsBinder.bind
(Comments comments, MetadataBuildingContext context, Component embeddable) void
CommentsBinder.bind
(Comments comments, MetadataBuildingContext context, PersistentClass entity) void
CommentsBinder.bind
(Comments comments, MetadataBuildingContext context, PersistentClass entity, Property property) void
DiscriminatorOptionsBinder.bind
(DiscriminatorOptions options, MetadataBuildingContext context, Component embeddableClass) void
DiscriminatorOptionsBinder.bind
(DiscriminatorOptions options, MetadataBuildingContext context, PersistentClass persistentClass) void
TenantIdBinder.bind
(TenantId tenantId, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) -
Uses of MetadataBuildingContext in org.hibernate.boot.internal
Classes in org.hibernate.boot.internal that implement MetadataBuildingContextMethods in org.hibernate.boot.internal that return MetadataBuildingContextMethods in org.hibernate.boot.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionInFlightMetadataCollectorImpl.addDenormalizedTable
(String schemaName, String catalogName, String name, boolean isAbstract, String subselectFragment, Table includedTable, MetadataBuildingContext buildingContext) InFlightMetadataCollectorImpl.addTable
(String schemaName, String catalogName, String name, String subselectFragment, boolean isAbstract, MetadataBuildingContext buildingContext) InFlightMetadataCollectorImpl.buildMetadataInstance
(MetadataBuildingContext buildingContext) Builds the complete and immutable Metadata instance from the collected info.void
InFlightMetadataCollectorImpl.processSecondPasses
(MetadataBuildingContext buildingContext) Ugh! But we need this done before we ask Envers to produce its entities.protected void
InFlightMetadataCollectorImpl.secondPassCompileForeignKeys
(Table table, Set<ForeignKey> done, MetadataBuildingContext buildingContext) Method parameters in org.hibernate.boot.internal with type arguments of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
InFlightMetadataCollectorImpl.registerValueMappingResolver
(Function<MetadataBuildingContext, Boolean> resolver) Constructors in org.hibernate.boot.internal with parameters of type MetadataBuildingContextModifierConstructorDescriptionForeignKeyNameSource
(ForeignKey foreignKey, Table table, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.boot.model
Methods in org.hibernate.boot.model with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic BasicValue.Resolution<?>
TypeDefinition.createLocalResolution
(String name, Class<?> typeImplementorClass, Map<?, ?> localTypeParams, MetadataBuildingContext buildingContext) TypeDefinition.resolve
(Map<?, ?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.convert.internal
Methods in org.hibernate.boot.model.convert.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionAttributeConverterManager.findAutoApplyConverterForAttribute
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) AttributeConverterManager.findAutoApplyConverterForCollectionElement
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) AttributeConverterManager.findAutoApplyConverterForMapKey
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) AutoApplicableConverterDescriptorBypassedImpl.getAutoAppliedConverterDescriptorForAttribute
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptorStandardImpl.getAutoAppliedConverterDescriptorForAttribute
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptorBypassedImpl.getAutoAppliedConverterDescriptorForCollectionElement
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptorStandardImpl.getAutoAppliedConverterDescriptorForCollectionElement
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptorBypassedImpl.getAutoAppliedConverterDescriptorForMapKey
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptorStandardImpl.getAutoAppliedConverterDescriptorForMapKey
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) static com.fasterxml.classmate.ResolvedType
ConverterHelper.resolveAttributeType
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) static com.fasterxml.classmate.members.ResolvedMember<? extends Member>
ConverterHelper.resolveMember
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.convert.spi
Methods in org.hibernate.boot.model.convert.spi with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionConverterAutoApplyHandler.findAutoApplyConverterForAttribute
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) Resolve the auto-applied converter to be applied to a basic attribute described by the passed property descriptor.ConverterAutoApplyHandler.findAutoApplyConverterForCollectionElement
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) Resolve the auto-applied converter to be applied to the elements of a plural attribute described by the passed property descriptor.ConverterAutoApplyHandler.findAutoApplyConverterForMapKey
(org.hibernate.models.spi.MemberDetails attributeMember, MetadataBuildingContext context) Resolve the auto-applied converter to be applied to the keys of a plural Map attribute described by the passed property descriptor.AutoApplicableConverterDescriptor.getAutoAppliedConverterDescriptorForAttribute
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptor.getAutoAppliedConverterDescriptorForCollectionElement
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) AutoApplicableConverterDescriptor.getAutoAppliedConverterDescriptorForMapKey
(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) Constructors in org.hibernate.boot.model.convert.spi with parameters of type MetadataBuildingContextModifierConstructorDescriptionRegisteredConversion
(Class<?> explicitDomainType, Class<? extends AttributeConverter<?, ?>> converterType, boolean autoApply, MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.internal
Fields in org.hibernate.boot.model.internal declared as MetadataBuildingContextModifier and TypeFieldDescriptionprotected final MetadataBuildingContext
AbstractEntityIdGeneratorResolver.buildingContext
Methods in org.hibernate.boot.model.internal that return MetadataBuildingContextModifier and TypeMethodDescriptionAnnotatedColumns.getBuildingContext()
protected MetadataBuildingContext
CollectionBinder.getBuildingContext()
protected MetadataBuildingContext
AbstractPropertyHolder.getContext()
Get the mappingsMethods in org.hibernate.boot.model.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic void
ClassPropertyHolder.addPropertyToMappedSuperclass
(Property prop, org.hibernate.models.spi.MemberDetails memberDetails, org.hibernate.models.spi.ClassDetails declaringClass, MetadataBuildingContext context) static BeanContainer
GeneratorBinder.beanContainer
(MetadataBuildingContext buildingContext) Obtain aBeanContainer
to be used for instantiating generators.static void
AnnotationBinder.bindClass
(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context) Bind an annotated class.static void
CollectionBinder.bindCollection
(PropertyHolder propertyHolder, Nullability nullability, PropertyData inferredData, EntityBinder entityBinder, boolean isIdentifierMapper, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, org.hibernate.models.spi.MemberDetails property, AnnotatedJoinColumns joinColumns) The first pass at binding a collection.static void
AnnotationBinder.bindDefaults
(MetadataBuildingContext context) static Component
EmbeddableBinder.bindEmbeddable
(PropertyData inferredData, PropertyHolder propertyHolder, AccessType propertyAccessor, EntityBinder entityBinder, boolean isIdentifierMapper, MetadataBuildingContext context, boolean isComponentEmbedded, boolean isId, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, String referencedEntityName, String propertyName, Class<? extends EmbeddableInstantiator> customInstantiatorImpl, Class<? extends CompositeUserType<?>> compositeUserTypeClass, AnnotatedJoinColumns columns, AnnotatedColumns annotatedColumns) static void
EntityBinder.bindEntityClass
(org.hibernate.models.spi.ClassDetails clazzToProcess, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStates, MetadataBuildingContext context) Bind an entity class.static void
AnnotationBinder.bindFetchProfilesForClass
(org.hibernate.models.spi.AnnotationTarget annotatedClass, MetadataBuildingContext context) static void
AnnotationBinder.bindFetchProfilesForPackage
(ClassLoaderService cls, String packageName, MetadataBuildingContext context) static void
FilterDefBinder.bindFilterDef
(FilterDef filterDef, MetadataBuildingContext context) static void
FilterDefBinder.bindFilterDefs
(org.hibernate.models.spi.AnnotationTarget annotatedElement, MetadataBuildingContext context) static void
TableBinder.bindForeignKey
(PersistentClass referencedEntity, PersistentClass destinationEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext) static void
ToOneBinder.bindForeignKeyNameAndDefinition
(SimpleValue value, org.hibernate.models.spi.MemberDetails property, ForeignKey foreignKey, MetadataBuildingContext context) static void
QueryBinder.bindNamedStoredProcedureQuery
(NamedStoredProcedureQuery namedStoredProcedureQuery, MetadataBuildingContext context, boolean isDefault) static void
QueryBinder.bindNativeQuery
(NamedNativeQuery namedNativeQuery, MetadataBuildingContext context, org.hibernate.models.spi.AnnotationTarget location, boolean isDefault) static void
QueryBinder.bindNativeQuery
(String name, SQLSelect sqlSelect, org.hibernate.models.spi.ClassDetails annotatedClass, MetadataBuildingContext context) static void
QueryBinder.bindNativeQuery
(NamedNativeQuery namedNativeQuery, MetadataBuildingContext context, org.hibernate.models.spi.AnnotationTarget location) static void
AnnotationBinder.bindPackage
(ClassLoaderService cls, String packageName, MetadataBuildingContext context) static void
AnnotationBinder.bindQueries
(org.hibernate.models.spi.AnnotationTarget annotationTarget, MetadataBuildingContext context) static void
QueryBinder.bindQuery
(NamedQuery namedQuery, MetadataBuildingContext context, boolean isDefault, org.hibernate.models.spi.AnnotationTarget annotationTarget) static void
QueryBinder.bindQuery
(String name, HQLSelect hqlSelect, MetadataBuildingContext context) static void
QueryBinder.bindQuery
(NamedQuery namedQuery, MetadataBuildingContext context, org.hibernate.models.spi.AnnotationTarget location) static void
SoftDeleteHelper.bindSoftDeleteIndicator
(SoftDelete softDeleteConfig, SoftDeletable target, Table table, MetadataBuildingContext context) Creates and binds the column and value for modeling the soft-delete in the databasestatic void
QueryBinder.bindSqlResultSetMapping
(SqlResultSetMapping resultSetMappingAnn, MetadataBuildingContext context, boolean isDefault) static Table
TableBinder.buildAndFillTable
(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext) static Table
TableBinder.buildAndFillTable
(String schema, String catalog, Identifier logicalName, boolean isAbstract, UniqueConstraint[] uniqueConstraints, MetadataBuildingContext buildingContext, String subselect, InFlightMetadataCollector.EntityTableXref denormalizedSuperTableXref) static Any
BinderHelper.buildAnyValue
(Column discriminatorColumn, Formula discriminatorFormula, AnnotatedJoinColumns keyColumns, PropertyData inferredData, OnDeleteAction onDeleteAction, boolean lazy, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildColumnFromAnnotation
(Column column, FractionalSeconds fractionalSeconds, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildColumnFromNoAnnotation
(FractionalSeconds fractionalSeconds, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static IndexColumn
IndexColumn.buildColumnFromOrderColumn
(OrderColumn orderColumn, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) JPA 2@OrderColumn
processing.static AnnotatedColumns
AnnotatedColumn.buildColumnOrFormulaFromAnnotation
(Column column, Formula formulaAnn, FractionalSeconds fractionalSeconds, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildColumnsFromAnnotations
(Column[] columns, FractionalSeconds fractionalSeconds, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildColumnsFromAnnotations
(Column[] columns, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildColumnsOrFormulaFromAnnotation
(Column[] columns, Formula formulaAnn, FractionalSeconds fractionalSeconds, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, String suffixForDefaultColumnName, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedDiscriminatorColumn
AnnotatedDiscriminatorColumn.buildDiscriminatorColumn
(DiscriminatorColumn discriminatorColumn, DiscriminatorFormula discriminatorFormula, Column columnOverride, String defaultColumnName, MetadataBuildingContext context) static AnnotatedColumns
AnnotatedColumn.buildFormulaFromAnnotation
(Formula formulaAnn, Nullability nullability, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static AnnotatedJoinColumn
AnnotatedJoinColumn.buildInheritanceJoinColumn
(PrimaryKeyJoinColumn primaryKeyJoinColumn, JoinColumn joinColumn, Value identifier, AnnotatedJoinColumns parent, MetadataBuildingContext context) Called forInheritanceType.JOINED
entities.static Map<org.hibernate.models.spi.ClassDetails,
InheritanceState> AnnotationBinder.buildInheritanceStates
(List<org.hibernate.models.spi.ClassDetails> orderedClasses, MetadataBuildingContext buildingContext) For the mapped entities build some temporary data-structure containing information about the inheritance status of a class.static AnnotatedJoinColumns
AnnotatedJoinColumns.buildJoinColumns
(JoinColumn[] joinColumns, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext buildingContext) static AnnotatedJoinColumns
AnnotatedJoinColumns.buildJoinColumnsOrFormulas
(JoinColumnOrFormula[] joinColumnOrFormulas, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context) static AnnotatedJoinColumns
AnnotatedJoinColumns.buildJoinColumnsWithDefaultColumnSuffix
(JoinColumn[] joinColumns, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, String defaultColumnSuffix, MetadataBuildingContext context) static AnnotatedJoinColumns
AnnotatedJoinColumns.buildJoinTableJoinColumns
(JoinColumn[] joinColumns, Map<String, Join> secondaryTables, PropertyHolder propertyHolder, PropertyData inferredData, String mappedBy, MetadataBuildingContext context) Called for join tables inManyToMany
associations.static CollectionPropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(Collection collection, String path, org.hibernate.models.spi.ClassDetails clazzToProcess, org.hibernate.models.spi.MemberDetails property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context) build a property holder on top of a collectionstatic PropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(Component component, String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) build a component property holderstatic PropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(PersistentClass persistentClass, Map<String, Join> joins, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) May only be called during the second pass phase.static PropertyHolder
PropertyHolderBuilder.buildPropertyHolder
(org.hibernate.models.spi.ClassDetails clazzToProcess, PersistentClass persistentClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) static void
GeneratorBinder.createGeneratorFrom
(IdentifierGeneratorDefinition defaultedGenerator, SimpleValue idValue, Map<String, Object> configuration, MetadataBuildingContext context) static void
GeneratorBinder.createGeneratorFrom
(IdentifierGeneratorDefinition defaultedGenerator, SimpleValue idValue, MetadataBuildingContext context) static NamedProcedureCallDefinition
QueryBinder.createStoredProcedure
(NamedNativeQueryDefinition.Builder<?> builder, MetadataBuildingContext context, Supplier<RuntimeException> exceptionProducer) Deprecated.User should use NamedStoredProcedureQuery insteadstatic void
BinderHelper.createSyntheticPropertyReference
(AnnotatedJoinColumns joinColumns, PersistentClass targetEntity, PersistentClass associatedEntity, Value value, String propertyName, boolean inverse, MetadataBuildingContext context) Here we address a fundamental problem: the@JoinColumn
annotation specifies the referenced column in the target table viareferencedColumnName
, but Hibernate needs to know which property or field of the target entity class holds the value of the referenced column at the Java level.static Class<? extends EmbeddableInstantiator>
EmbeddableBinder.determineCustomInstantiator
(org.hibernate.models.spi.MemberDetails property, org.hibernate.models.spi.ClassDetails returnedClass, MetadataBuildingContext context) static <A extends Annotation>
ABinderHelper.extractFromPackage
(Class<A> annotationType, org.hibernate.models.spi.ClassDetails classDetails, MetadataBuildingContext context) Extract an annotation from the package-info for the package the given class is defined instatic int
GeneratorParameters.fallbackAllocationSize
(Annotation generatorAnnotation, MetadataBuildingContext buildingContext) static AttributeContainer
BinderHelper.findColumnOwner
(PersistentClass persistentClass, String columnName, MetadataBuildingContext context) Find the column owner (ie PersistentClass or Join) of columnName.static <A extends Annotation>
AGeneratorAnnotationHelper.findLocalizedMatch
(org.hibernate.models.spi.AnnotationDescriptor<A> generatorAnnotationType, org.hibernate.models.spi.MemberDetails idMember, Function<A, String> nameExtractor, String matchName, MetadataBuildingContext context) static AttributeContainer
BinderHelper.findReferencedColumnOwner
(PersistentClass persistentClass, AnnotatedJoinColumn joinColumn, MetadataBuildingContext context) static IndexColumn
IndexColumn.fromAnnotations
(OrderColumn orderColumn, ListIndexBase listIndexBase, PropertyHolder propertyHolder, PropertyData inferredData, Map<String, Join> secondaryTables, MetadataBuildingContext context) static String
BinderHelper.getCascadeStrategy
(CascadeType[] ejbCascades, Cascade hibernateCascadeAnnotation, boolean orphanRemoval, MetadataBuildingContext context) static CollectionBinder
CollectionBinder.getCollectionBinder
(org.hibernate.models.spi.MemberDetails property, boolean isHibernateExtensionMapping, MetadataBuildingContext buildingContext) collection binder factorystatic MappedSuperclass
BinderHelper.getMappedSuperclassOrNull
(org.hibernate.models.spi.ClassDetails declaringClass, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext context) static <T extends Annotation>
TDialectOverridesAnnotationHelper.getOverridableAnnotation
(org.hibernate.models.spi.AnnotationTarget element, Class<T> annotationType, MetadataBuildingContext context) static String
ToOneBinder.getReferenceEntityName
(PropertyData propertyData, MetadataBuildingContext context) static org.hibernate.models.spi.ClassDetails
ToOneBinder.getTargetEntity
(PropertyData propertyData, MetadataBuildingContext context) static void
ClassPropertyHolder.handleGenericComponentProperty
(Property property, org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) Embeddable classes can be defined using generics.static void
GeneratorAnnotationHelper.handleGenericGenerator
(String generatorName, GenericGenerator generatorConfig, PersistentClass entityMapping, SimpleValue idValue, MetadataBuildingContext context) static void
GeneratorAnnotationHelper.handleIdGeneratorType
(Annotation generatorAnnotation, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, MetadataBuildingContext buildingContext) static void
GeneratorAnnotationHelper.handleSequenceGenerator
(String nameFromGeneratedValue, SequenceGenerator generatorAnnotation, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, MetadataBuildingContext buildingContext) static void
IdBagIdGeneratorResolverSecondPass.handleSequenceGenerator
(String nameFromGeneratedValue, SequenceGenerator generatorAnnotation, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idBagMember, MetadataBuildingContext buildingContext) static void
GeneratorAnnotationHelper.handleTableGenerator
(String nameFromGeneratedValue, TableGenerator generatorAnnotation, PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, MetadataBuildingContext buildingContext) static void
IdBagIdGeneratorResolverSecondPass.handleTableGenerator
(String nameFromGeneratedValue, TableGenerator generatorAnnotation, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idBagMember, MetadataBuildingContext buildingContext) static void
GeneratorAnnotationHelper.handleUuidStrategy
(SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, MetadataBuildingContext context) static org.hibernate.models.spi.ClassDetails
GeneratorAnnotationHelper.locatePackageInfoDetails
(org.hibernate.models.spi.ClassDetails classDetails, MetadataBuildingContext buildingContext) static void
GeneratorBinder.makeIdGenerator
(MappingDocument sourceDocument, IdentifierGeneratorDefinition definition, SimpleValue identifierValue, MetadataBuildingContext context) Set up the identifier generator for an id defined in ahbm.xml
mapping.static void
GeneratorBinder.makeIdGenerator
(SimpleValue identifierValue, org.hibernate.models.spi.MemberDetails idAttributeMember, String generatorType, String generatorName, MetadataBuildingContext context, Map<String, ? extends IdentifierGeneratorDefinition> localGenerators) Create a generator, based on aGeneratedValue
annotation.GeneratorStrategies.mapLegacyNamedGenerator
(String strategy, MetadataBuildingContext buildingContext) static void
AggregateComponentBinder.processAggregate
(Component component, PropertyHolder propertyHolder, PropertyData inferredData, org.hibernate.models.spi.ClassDetails componentClassDetails, AnnotatedColumns columns, MetadataBuildingContext context) static void
PropertyBinder.processElementAnnotations
(PropertyHolder propertyHolder, Nullability nullability, PropertyData inferredData, EntityBinder entityBinder, boolean isIdentifierMapper, boolean isComponentEmbedded, boolean inSecondPass, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) Process annotation of a particular property or field.static void
GeneratorBinder.registerGlobalGenerators
(org.hibernate.models.spi.AnnotationTarget annotatedElement, MetadataBuildingContext context) static JdbcMapping
AnnotationHelper.resolveAttributeConverter
(Class<AttributeConverter<?, ?>> type, MetadataBuildingContext context) AnnotationHelper.resolveBasicType
(Class<?> type, MetadataBuildingContext context) static ManagedBean<? extends UserCollectionType>
CollectionBinder.resolveCustomType
(org.hibernate.models.spi.MemberDetails property, CollectionType typeAnnotation, MetadataBuildingContext context) static JdbcMapping
FilterDefBinder.resolveFilterParamType
(Class<?> type, MetadataBuildingContext context) AnyBinder.resolveImplicitDiscriminatorStrategy
(AnyDiscriminatorImplicitValues anyDiscriminatorImplicitValues, MetadataBuildingContext context) static JdbcMapping
AnnotationHelper.resolveJavaType
(Class<JavaType<?>> type, MetadataBuildingContext context) static JdbcMapping
AnnotationHelper.resolveUserType
(Class<UserType<?>> userTypeClass, MetadataBuildingContext context) void
AnnotatedColumns.setBuildingContext
(MetadataBuildingContext buildingContext) void
PropertyBinder.setBuildingContext
(MetadataBuildingContext buildingContext) void
TableBinder.setBuildingContext
(MetadataBuildingContext buildingContext) static void
GeneratorBinder.visitIdGeneratorDefinitions
(org.hibernate.models.spi.AnnotationTarget annotatedElement, Consumer<IdentifierGeneratorDefinition> consumer, MetadataBuildingContext context) Constructors in org.hibernate.boot.model.internal with parameters of type MetadataBuildingContextModifierConstructorDescriptionAbstractEntityIdGeneratorResolver
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) AggregateComponentSecondPass
(PropertyHolder propertyHolder, Component component, org.hibernate.models.spi.ClassDetails componentClassDetails, String propertyName, MetadataBuildingContext context) ArrayBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) BagBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext context) BasicValueBinder
(BasicValueBinder.Kind kind, MetadataBuildingContext buildingContext) BasicValueBinder
(BasicValueBinder.Kind kind, Component aggregateComponent, MetadataBuildingContext buildingContext) ClassPropertyHolder
(PersistentClass persistentClass, org.hibernate.models.spi.ClassDetails entityXClass, Map<String, Join> joins, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) ClassPropertyHolder
(PersistentClass persistentClass, org.hibernate.models.spi.ClassDetails entityXClass, EntityBinder entityBinder, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) protected
CollectionBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean isSortedCollection, MetadataBuildingContext buildingContext) CollectionPropertyHolder
(Collection collection, String path, org.hibernate.models.spi.ClassDetails clazzToProcess, org.hibernate.models.spi.MemberDetails property, PropertyHolder parentPropertyHolder, MetadataBuildingContext context) ComponentPropertyHolder
(Component component, String path, PropertyData inferredData, PropertyHolder parent, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass) CopyIdentifierComponentSecondPass
(Component comp, String referencedEntityName, String propertyName, AnnotatedJoinColumns joinColumns, MetadataBuildingContext buildingContext) EntityBinder
(MetadataBuildingContext context) Use as a fake one for Collection of elementsEntityBinder
(org.hibernate.models.spi.ClassDetails annotatedClass, PersistentClass persistentClass, MetadataBuildingContext context) FetchOverrideSecondPass
(String fetchProfileName, FetchProfile.FetchOverride fetch, MetadataBuildingContext buildingContext) FetchSecondPass
(FetchProfileOverride fetch, PropertyHolder propertyHolder, String propertyName, MetadataBuildingContext buildingContext) IdBagBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) IdBagIdGeneratorResolverSecondPass
(IdentifierBag idBagMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idBagMember, String generatorType, String generatorName, MetadataBuildingContext buildingContext) IdGeneratorResolverSecondPass
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) ImplicitToOneJoinTableSecondPass
(PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context, AnnotatedJoinColumns joinColumns, JoinTable joinTable, NotFoundAction notFoundAction, ManyToOne value) InheritanceState
(org.hibernate.models.spi.ClassDetails classDetails, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, MetadataBuildingContext buildingContext) JoinedSubclassFkSecondPass
(JoinedSubclass entity, AnnotatedJoinColumns inheritanceJoinedColumns, SimpleValue key, MetadataBuildingContext buildingContext) ListBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) MapBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext) OneToOneSecondPass
(String mappedBy, String ownerEntity, PropertyHolder propertyHolder, PropertyData inferredData, String referencedEntityName, boolean annotatedEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, String cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext) PrimitiveArrayBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) PropertyInferredData
(org.hibernate.models.spi.ClassDetails declaringClass, org.hibernate.models.spi.TypeVariableScope ownerType, org.hibernate.models.spi.MemberDetails propertyMember, String propertyAccessor, MetadataBuildingContext buildingContext) Take the annotated element for lazy processResultSetMappingSecondPass
(SqlResultSetMapping annotation, MetadataBuildingContext context, boolean isDefault) SetBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, boolean sorted, MetadataBuildingContext buildingContext) StrictIdGeneratorResolverSecondPass
(PersistentClass entityMapping, SimpleValue idValue, org.hibernate.models.spi.MemberDetails idMember, GeneratedValue generatedValue, MetadataBuildingContext buildingContext) ToOneFkSecondPass
(ToOne value, AnnotatedJoinColumns columns, boolean unique, boolean annotatedEntity, PersistentClass persistentClass, String path, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.naming
Methods in org.hibernate.boot.model.naming that return MetadataBuildingContextModifier and TypeMethodDescriptionImplicitNameSource.getBuildingContext()
Access to the current building context.protected MetadataBuildingContext
ObjectNameNormalizer.getBuildingContext()
Access the contextual information related to the current process of building metadata.Methods in org.hibernate.boot.model.naming with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionNamingStrategyHelper.determineImplicitName
(MetadataBuildingContext buildingContext) Called when the user supplied no explicit name/identifier for the given database object.NamingStrategyHelper.handleExplicitName
(String explicitName, MetadataBuildingContext buildingContext) Called when the user has supplied an explicit name for the database object.protected Identifier
ImplicitNamingStrategyJpaCompliantImpl.toIdentifier
(String stringForm, MetadataBuildingContext buildingContext) Easy hook to build an Identifier using the keyword safe IdentifierHelper.NamingStrategyHelper.toPhysicalName
(Identifier logicalName, MetadataBuildingContext buildingContext) Handle converting a logical name to a physical nameConstructors in org.hibernate.boot.model.naming with parameters of type MetadataBuildingContext -
Uses of MetadataBuildingContext in org.hibernate.boot.model.process.internal
Methods in org.hibernate.boot.model.process.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic <T> BasicValue.Resolution<T>
InferredBasicValueResolver.from
(BasicJavaType<T> explicitJavaType, JdbcType explicitJdbcType, Type resolvedJavaType, Supplier<JavaType<T>> reflectedJtdResolver, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators stdIndicators, Table table, Selectable selectable, String ownerName, String propertyName, MetadataBuildingContext buildingContext) static <T> NamedConverterResolution<T>
NamedConverterResolution.from
(String name, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) static <T> NamedConverterResolution<T>
NamedConverterResolution.from
(ConverterDescriptor converterDescriptor, Function<TypeConfiguration, BasicJavaType> explicitJtdAccess, Function<TypeConfiguration, JdbcType> explicitStdAccess, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, Type resolvedJavaType, JdbcTypeIndicators sqlTypeIndicators, JpaAttributeConverterCreationContext converterCreationContext, MetadataBuildingContext context) static <E> VersionResolution<E>
VersionResolution.from
(Function<TypeConfiguration, Type> implicitJavaTypeAccess, TimeZoneStorageType timeZoneStorageType, MetadataBuildingContext context) Constructors in org.hibernate.boot.model.process.internal with parameters of type MetadataBuildingContextModifierConstructorDescriptionNamedBasicTypeResolution
(JavaType<J> domainJtd, BasicType basicType, BasicValueConverter valueConverter, Function<TypeConfiguration, MutabilityPlan> explicitMutabilityPlanAccess, MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.source.internal.hbm
Subinterfaces of MetadataBuildingContext in org.hibernate.boot.model.source.internal.hbmModifier and TypeInterfaceDescriptioninterface
Access to contextual information specific to ahbm.xml
mapping.Classes in org.hibernate.boot.model.source.internal.hbm that implement MetadataBuildingContextModifier and TypeClassDescriptionclass
Aggregates together information about a mapping document.Methods in org.hibernate.boot.model.source.internal.hbm that return MetadataBuildingContextModifier and TypeMethodDescriptionCompositeIdentifierSingularAttributeSourceBasicImpl.getBuildingContext()
PluralAttributeElementSourceBasicImpl.getBuildingContext()
Methods in org.hibernate.boot.model.source.internal.hbm with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic ModelBinder
ModelBinder.prepare
(MetadataBuildingContext context) static Class
Helper.reflectedPropertyClass
(MetadataBuildingContext buildingContext, Class attributeOwnerClass, String attributeName) static Class
Helper.reflectedPropertyClass
(MetadataBuildingContext buildingContext, String attributeOwnerClassName, String attributeName) Constructors in org.hibernate.boot.model.source.internal.hbm with parameters of type MetadataBuildingContextModifierConstructorDescriptionHbmMetadataSourceProcessorImpl
(Collection<Binding<JaxbBindableMappingDescriptor>> xmlBindings, MetadataBuildingContext rootBuildingContext) HbmMetadataSourceProcessorImpl
(ManagedResources managedResources, MetadataBuildingContext rootBuildingContext) MappingDocument
(String contributor, JaxbHbmHibernateMapping documentRoot, Origin origin, MetadataBuildingContext rootBuildingContext) ModelBinder
(MetadataBuildingContext context) RelationalObjectBinder
(MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.source.spi
Subinterfaces of MetadataBuildingContext in org.hibernate.boot.model.source.spiModifier and TypeInterfaceDescriptioninterface
Specialization of the MetadataBuildingContext contract specific to a given origin. -
Uses of MetadataBuildingContext in org.hibernate.boot.models.spi
Methods in org.hibernate.boot.models.spi with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionFilterDefRegistration.toFilterDefinition
(MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.boot.query
Methods in org.hibernate.boot.query with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic void
HbmResultSetMappingDescriptor.collectJoinFetch
(JaxbHbmNativeQueryJoinReturnType jaxbHbmJoin, Map<String, Map<String, HbmResultSetMappingDescriptor.JoinDescriptor>> joinDescriptors, Map<String, HbmResultSetMappingDescriptor.HbmFetchParent> fetchParentByAlias, String registrationName, MetadataBuildingContext context) HbmResultSetMappingDescriptor.extractPropertyFetchDescriptors
(List<JaxbHbmNativeQueryPropertyReturnType> hbmReturnProperties, HbmResultSetMappingDescriptor.HbmFetchParent fetchParent, String registrationName, MetadataBuildingContext context) Constructors in org.hibernate.boot.query with parameters of type MetadataBuildingContextModifierConstructorDescriptionCollectionResultDescriptor
(JaxbHbmNativeQueryCollectionLoadReturnType hbmCollectionReturn, Supplier<Map<String, Map<String, HbmResultSetMappingDescriptor.JoinDescriptor>>> joinDescriptorsAccess, String registrationName, MetadataBuildingContext context) EntityResultDescriptor
(JaxbHbmNativeQueryReturnType hbmEntityReturn, Supplier<Map<String, Map<String, HbmResultSetMappingDescriptor.JoinDescriptor>>> joinDescriptorsAccess, String registrationName, MetadataBuildingContext context) HbmResultSetMappingDescriptor
(JaxbHbmResultSetMappingType hbmResultSetMapping, MetadataBuildingContext context) Constructor for an explicit<resultset/>
mapping.ImplicitHbmResultSetMappingDescriptorBuilder
(String queryRegistrationName, int numberOfReturns, MetadataBuildingContext metadataBuildingContext) ImplicitHbmResultSetMappingDescriptorBuilder
(String queryRegistrationName, MetadataBuildingContext metadataBuildingContext) JoinDescriptor
(JaxbHbmNativeQueryJoinReturnType hbmJoinReturn, Supplier<Map<String, Map<String, HbmResultSetMappingDescriptor.JoinDescriptor>>> joinDescriptorsAccess, Supplier<Map<String, HbmResultSetMappingDescriptor.HbmFetchParent>> fetchParentByAliasAccess, String registrationName, MetadataBuildingContext context) PropertyFetchDescriptor
(JaxbHbmNativeQueryPropertyReturnType hbmPropertyMapping, HbmResultSetMappingDescriptor.HbmFetchParent parent, String registrationName, MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionInFlightMetadataCollector.addDenormalizedTable
(String schema, String catalog, String name, boolean isAbstract, String subselect, Table includedTable, MetadataBuildingContext buildingContext) Adds a 'denormalized table' to this repository.InFlightMetadataCollector.addTable
(String schema, String catalog, String name, String subselect, boolean isAbstract, MetadataBuildingContext buildingContext) Adds table metadata to this repository returning the created metadata instance.void
AdditionalMappingContributor.contribute
(AdditionalMappingContributions contributions, InFlightMetadataCollector metadata, ResourceStreamLocator resourceStreamLocator, MetadataBuildingContext buildingContext) Contribute the additional mappingsMethod parameters in org.hibernate.boot.spi with type arguments of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
InFlightMetadataCollector.registerValueMappingResolver
(Function<MetadataBuildingContext, Boolean> resolver) -
Uses of MetadataBuildingContext in org.hibernate.envers.boot.internal
Classes in org.hibernate.envers.boot.internal that implement MetadataBuildingContextMethods in org.hibernate.envers.boot.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
AdditionalMappingContributorImpl.contribute
(AdditionalMappingContributions contributions, InFlightMetadataCollector metadata, ResourceStreamLocator resourceStreamLocator, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.envers.boot.spi
Subinterfaces of MetadataBuildingContext in org.hibernate.envers.boot.spiModifier and TypeInterfaceDescriptioninterface
Metadata building context for Hibernate Envers -
Uses of MetadataBuildingContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
ExportableColumn.ValueImpl.createUniqueKey
(MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.jpa.event.internal
Methods in org.hibernate.jpa.event.internal with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic List<CallbackDefinition>
CallbackDefinitionResolver.resolveEmbeddableCallbacks
(MetadataBuildingContext metadataBuildingContext, Class<?> entityClass, Property embeddableProperty, CallbackType callbackType) static List<CallbackDefinition>
CallbackDefinitionResolver.resolveEntityCallbacks
(MetadataBuildingContext metadataBuildingContext, org.hibernate.models.spi.ClassDetails entityClass, CallbackType callbackType) -
Uses of MetadataBuildingContext in org.hibernate.mapping
Methods in org.hibernate.mapping that return MetadataBuildingContextModifier and TypeMethodDescriptionCollection.getBuildingContext()
OneToMany.getBuildingContext()
SimpleValue.getBuildingContext()
default MetadataBuildingContext
Value.getBuildingContext()
Methods in org.hibernate.mapping with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionstatic AnyType
MappingHelper.anyMapping
(Type discriminatorType, Type identifierType, Map<Object, String> explicitValeMappings, boolean lazy, MetadataBuildingContext buildingContext) static AnyType
MappingHelper.anyMapping
(Type discriminatorType, Type identifierType, Map<Object, String> explicitValeMappings, ImplicitDiscriminatorStrategy implicitValueStrategy, boolean lazy, MetadataBuildingContext buildingContext) void
DenormalizedTable.createForeignKeys
(MetadataBuildingContext context) void
Table.createForeignKeys
(MetadataBuildingContext context) void
Collection.createUniqueKey
(MetadataBuildingContext context) void
ManyToOne.createUniqueKey
(MetadataBuildingContext context) void
OneToMany.createUniqueKey
(MetadataBuildingContext context) void
OneToOne.createUniqueKey
(MetadataBuildingContext context) void
SimpleValue.createUniqueKey
(MetadataBuildingContext context) void
Table.createUniqueKey
(List<Column> keyColumns, MetadataBuildingContext context) If there is one given column, mark it unique, otherwise create aUniqueKey
comprising the given columns.void
Table.createUniqueKey
(Column column, MetadataBuildingContext context) Mark the given column unique.void
Value.createUniqueKey
(MetadataBuildingContext context) Column.getNameIdentifier
(MetadataBuildingContext buildingContext) static ManyToOneType
MappingHelper.manyToOne
(String referencedEntityName, boolean referenceToPrimaryKey, String referencedPropertyName, String propertyName, boolean isLogicalOneToOne, boolean lazy, boolean unwrapProxy, boolean ignoreNotFound, MetadataBuildingContext buildingContext) static OneToOneType
MappingHelper.oneToOne
(String referencedEntityName, ForeignKeyDirection foreignKeyType, boolean referenceToPrimaryKey, String referencedPropertyName, boolean lazy, boolean unwrapProxy, String owningEntityName, String owningEntityPropertyName, boolean constrained, MetadataBuildingContext buildingContext) boolean
BasicValue.resolve
(MetadataBuildingContext buildingContext) boolean
DependantValue.resolve
(MetadataBuildingContext buildingContext) boolean
Resolvable.resolve
(MetadataBuildingContext buildingContext) static SpecialOneToOneType
MappingHelper.specialOneToOne
(String referencedEntityName, ForeignKeyDirection foreignKeyType, boolean referenceToPrimaryKey, String referencedPropertyName, boolean lazy, boolean unwrapProxy, String owningEntityName, String owningEntityPropertyName, boolean constrained, MetadataBuildingContext buildingContext) static TimeZoneStorageStrategy
BasicValue.timeZoneStorageStrategy
(TimeZoneStorageType timeZoneStorageType, MetadataBuildingContext buildingContext) Constructors in org.hibernate.mapping with parameters of type MetadataBuildingContextModifierConstructorDescriptionAny
(MetadataBuildingContext buildingContext, Table table) Any
(MetadataBuildingContext buildingContext, Table table, boolean annotations) Array
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Array
(MetadataBuildingContext buildingContext, PersistentClass owner) Bag
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingBag
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingBasicValue
(MetadataBuildingContext buildingContext) BasicValue
(MetadataBuildingContext buildingContext, Table table) protected
Collection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingprotected
Collection
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingComponent
(MetadataBuildingContext metadata, Collection collection) Component
(MetadataBuildingContext metadata, Component component) Component
(MetadataBuildingContext metadata, Join join) Component
(MetadataBuildingContext metadata, PersistentClass owner) Component
(MetadataBuildingContext metadata, Table table, PersistentClass owner) DependantBasicValue
(MetadataBuildingContext buildingContext, Table table, BasicValue referencedValue, boolean nullable, boolean updateable) DependantValue
(MetadataBuildingContext buildingContext, Table table, KeyValue prototype) IdentifierBag
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation bindingIdentifierBag
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingIdentifierCollection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) IdentifierCollection
(MetadataBuildingContext buildingContext, PersistentClass owner) IndexedCollection
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) IndexedCollection
(MetadataBuildingContext buildingContext, PersistentClass owner) JoinedSubclass
(PersistentClass superclass, MetadataBuildingContext metadataBuildingContext) KeyValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext) KeyValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table) List
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) annotation bindingList
(MetadataBuildingContext buildingContext, PersistentClass owner) hbm.xml bindingManyToOne
(MetadataBuildingContext buildingContext, Table table) Map
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Map
(MetadataBuildingContext buildingContext, PersistentClass owner) MetaValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext) MetaValue
(Consumer<Selectable> selectableConsumer, MetadataBuildingContext buildingContext, Table table) OneToMany
(MetadataBuildingContext buildingContext, PersistentClass owner) OneToOne
(MetadataBuildingContext buildingContext, Table table, PersistentClass owner) PersistentClass
(MetadataBuildingContext buildingContext) PrimitiveArray
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) PrimitiveArray
(MetadataBuildingContext buildingContext, PersistentClass owner) RootClass
(MetadataBuildingContext buildingContext) Set
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass persistentClass, MetadataBuildingContext buildingContext) Used by annotation bindingSet
(MetadataBuildingContext buildingContext, PersistentClass owner) Used by hbm.xml bindingSimpleValue
(MetadataBuildingContext buildingContext) SimpleValue
(MetadataBuildingContext buildingContext, Table table) SingleTableSubclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) Subclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) protected
ToOne
(MetadataBuildingContext buildingContext, Table table) UnionSubclass
(PersistentClass superclass, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.processor.validation
Classes in org.hibernate.processor.validation that implement MetadataBuildingContextModifier and TypeClassDescriptionclass
class
Implementation of theMock
objects based on standard annotation processor APIs. -
Uses of MetadataBuildingContext in org.hibernate.testing.boot
Classes in org.hibernate.testing.boot that implement MetadataBuildingContext -
Uses of MetadataBuildingContext in org.hibernate.testing.orm.junit
Classes in org.hibernate.testing.orm.junit that implement MetadataBuildingContextMethods in org.hibernate.testing.orm.junit with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionDialectFeatureChecks.FakeMetadataBuildingContext.addDenormalizedTable
(String schema, String catalog, String name, boolean isAbstract, String subselect, Table includedTable, MetadataBuildingContext buildingContext) DialectFeatureChecks.FakeMetadataBuildingContext.addTable
(String schema, String catalog, String name, String subselect, boolean isAbstract, MetadataBuildingContext buildingContext) Method parameters in org.hibernate.testing.orm.junit with type arguments of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
DialectFeatureChecks.FakeMetadataBuildingContext.registerValueMappingResolver
(Function<MetadataBuildingContext, Boolean> resolver) -
Uses of MetadataBuildingContext in org.hibernate.type.spi
Methods in org.hibernate.type.spi that return MetadataBuildingContextModifier and TypeMethodDescriptionTypeConfiguration.getMetadataBuildingContext()
Deprecated.This operation is not very typesafe, and we're migrating away from its useMethods in org.hibernate.type.spi with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoid
TypeConfiguration.scope
(MetadataBuildingContext metadataBuildingContext) Scope thisTypeConfiguration
to the givenMetadataBuildingContext
.