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.
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
AttributeConverters.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 defines the Hibernate configuration-time mapping model.
Defines a registry for Hibernate
Types.-
Uses of MetadataBuildingContext in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoidAttributeBinder.bind(A annotation, MetadataBuildingContext buildingContext, PersistentClass persistentClass, Property property) Perform some custom configuration of the model relating to the given annotatedPropertyof the given entity class or embeddable class.voidTypeBinder.bind(A annotation, MetadataBuildingContext buildingContext, Component embeddableClass) Perform some custom configuration of the model relating to the given annotated embeddable class.voidTypeBinder.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.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, MetadataBuildingContext context, JdbcTypeIndicators indicators) TypeDefinition.resolve(Map<?, ?> localConfigParameters, MutabilityPlan<?> explicitMutabilityPlan, MetadataBuildingContext context, JdbcTypeIndicators indicators) -
Uses of MetadataBuildingContext in org.hibernate.boot.model.convert.spi
Methods in org.hibernate.boot.model.convert.spi with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionConverterDescriptor<?, ?> ConverterAutoApplyHandler.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.ConverterDescriptor<?, ?> 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.ConverterDescriptor<?, ?> 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.ConverterDescriptor<?, ?> AutoApplicableConverterDescriptor.getAutoAppliedConverterDescriptorForAttribute(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) ConverterDescriptor<?, ?> AutoApplicableConverterDescriptor.getAutoAppliedConverterDescriptorForCollectionElement(org.hibernate.models.spi.MemberDetails memberDetails, MetadataBuildingContext context) ConverterDescriptor<?, ?> 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.naming
Methods in org.hibernate.boot.model.naming that return MetadataBuildingContextModifier and TypeMethodDescriptionImplicitNameSource.getBuildingContext()Access to the current building context.protected MetadataBuildingContextObjectNameNormalizer.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 NamingHelperImplicitNamingStrategyJpaCompliantImpl.namingHelper(MetadataBuildingContext context) Obtain aNamingHelperfor use in constraint name generation.protected IdentifierImplicitNamingStrategyJpaCompliantImpl.toIdentifier(String stringForm, MetadataBuildingContext buildingContext) Easy hook to build anIdentifierusing the keyword safeIdentifierHelper.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.source.spi
Subinterfaces of MetadataBuildingContext in org.hibernate.boot.model.source.spiModifier and TypeInterfaceDescriptioninterfaceSpecialization 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 voidHbmResultSetMappingDescriptor.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.voidAdditionalMappingContributor.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 TypeMethodDescriptionvoidInFlightMetadataCollector.registerValueMappingResolver(Function<MetadataBuildingContext, Boolean> resolver) -
Uses of MetadataBuildingContext in org.hibernate.envers.boot.spi
Subinterfaces of MetadataBuildingContext in org.hibernate.envers.boot.spiModifier and TypeInterfaceDescriptioninterfaceMetadata building context for Hibernate Envers -
Uses of MetadataBuildingContext in org.hibernate.mapping
Methods in org.hibernate.mapping that return MetadataBuildingContextModifier and TypeMethodDescriptionCollection.getBuildingContext()OneToMany.getBuildingContext()SimpleValue.getBuildingContext()default MetadataBuildingContextValue.getBuildingContext()Methods in org.hibernate.mapping with parameters of type MetadataBuildingContextModifier and TypeMethodDescriptionvoidPersistentClass.createConstraints(MetadataBuildingContext context) voidSingleTableSubclass.createConstraints(MetadataBuildingContext context) voidDenormalizedTable.createForeignKeys(MetadataBuildingContext context) voidTable.createForeignKeys(MetadataBuildingContext context) voidCollection.createUniqueKey(MetadataBuildingContext context) voidManyToOne.createUniqueKey(MetadataBuildingContext context) voidOneToMany.createUniqueKey(MetadataBuildingContext context) voidOneToOne.createUniqueKey(MetadataBuildingContext context) voidSimpleValue.createUniqueKey(MetadataBuildingContext context) voidTable.createUniqueKey(List<Column> keyColumns, MetadataBuildingContext context) If there is one given column, mark it unique, otherwise create aUniqueKeycomprising the given columns.voidTable.createUniqueKey(Column column, MetadataBuildingContext context) Mark the given column unique and assign a name to the unique key.voidValue.createUniqueKey(MetadataBuildingContext context) Column.getNameIdentifier(MetadataBuildingContext buildingContext) booleanBasicValue.resolve(MetadataBuildingContext buildingContext) booleanDependantValue.resolve(MetadataBuildingContext buildingContext) booleanResolvable.resolve(MetadataBuildingContext buildingContext) static TimeZoneStorageStrategyBasicValue.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) protectedCollection(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, PersistentClass owner, MetadataBuildingContext buildingContext) Annotation bindingprotectedCollection(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 buildingContext) 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) protectedToOne(MetadataBuildingContext buildingContext, Table table) UnionSubclass(PersistentClass superclass, MetadataBuildingContext buildingContext) -
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 TypeMethodDescriptionvoidTypeConfiguration.scope(MetadataBuildingContext metadataBuildingContext) Scope thisTypeConfigurationto the givenMetadataBuildingContext.