Uses of Interface
org.hibernate.boot.spi.MetadataBuildingContext
-
Packages that use MetadataBuildingContext Package Description org.hibernate.binder 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.org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.model 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.org.hibernate.boot.model.convert.spi Defines the SPI of a registry of JPAAttributeConverters.org.hibernate.boot.model.naming This API allows intervention by generic code in the process of determining the names of database objects (tables, columns, and constraints).org.hibernate.boot.model.source.spi org.hibernate.boot.query Support for handling named queries during the bootstrap process.org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.id This package and its subpackages, especiallyorg.hibernate.id.enhanced, contain the built-in id generators, all of which implement eitherIdentifierGeneratororPostInsertIdentifierGenerator.org.hibernate.mapping This package defines the Hibernate configuration-time mapping model.org.hibernate.type A HibernateTypeis a strategy for mapping a Java property type to a JDBC type or types.org.hibernate.type.spi Defines a registry for HibernateTypes. -
-
Uses of MetadataBuildingContext in org.hibernate.binder
Methods in org.hibernate.binder with parameters of type MetadataBuildingContext Modifier and Type Method Description voidAttributeBinder. 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
Methods in org.hibernate.boot with parameters of type MetadataBuildingContext Modifier and Type Method Description ConverterDescriptorAttributeConverterInfo. toConverterDescriptor(MetadataBuildingContext context)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of MetadataBuildingContext in org.hibernate.boot.model
Methods in org.hibernate.boot.model with parameters of type MetadataBuildingContext Modifier and Type Method Description static BasicValue.Resolution<?>TypeDefinition. createLocalResolution(String name, Class<?> typeImplementorClass, Map<?,?> localTypeParams, MetadataBuildingContext buildingContext)BasicValue.Resolution<?>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 MetadataBuildingContext Modifier and Type Method Description ConverterDescriptorConverterAutoApplyHandler. findAutoApplyConverterForAttribute(org.hibernate.annotations.common.reflection.XProperty property, MetadataBuildingContext context)Resolve the auto-applied converter to be applied to a basic attribute described by the passed property descriptor.ConverterDescriptorConverterAutoApplyHandler. findAutoApplyConverterForCollectionElement(org.hibernate.annotations.common.reflection.XProperty property, MetadataBuildingContext context)Resolve the auto-applied converter to be applied to the elements of a plural attribute described by the passed property descriptor.ConverterDescriptorConverterAutoApplyHandler. findAutoApplyConverterForMapKey(org.hibernate.annotations.common.reflection.XProperty property, MetadataBuildingContext context)Resolve the auto-applied converter to be applied to the keys of a plural Map attribute described by the passed property descriptor.ConverterDescriptorAutoApplicableConverterDescriptor. getAutoAppliedConverterDescriptorForAttribute(org.hibernate.annotations.common.reflection.XProperty xProperty, MetadataBuildingContext context)ConverterDescriptorAutoApplicableConverterDescriptor. getAutoAppliedConverterDescriptorForCollectionElement(org.hibernate.annotations.common.reflection.XProperty xProperty, MetadataBuildingContext context)ConverterDescriptorAutoApplicableConverterDescriptor. getAutoAppliedConverterDescriptorForMapKey(org.hibernate.annotations.common.reflection.XProperty xProperty, MetadataBuildingContext context)Constructors in org.hibernate.boot.model.convert.spi with parameters of type MetadataBuildingContext Constructor Description RegisteredConversion(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 MetadataBuildingContext Modifier and Type Method Description MetadataBuildingContextImplicitNameSource. getBuildingContext()Access to the current building context.protected abstract 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 MetadataBuildingContext Modifier and Type Method Description IdentifierNamingStrategyHelper. determineImplicitName(MetadataBuildingContext buildingContext)Called when the user supplied no explicit name/identifier for the given database object.IdentifierNamingStrategyHelper. handleExplicitName(String explicitName, MetadataBuildingContext buildingContext)Called when the user has supplied an explicit name for the database object.protected IdentifierImplicitNamingStrategyJpaCompliantImpl. toIdentifier(String stringForm, MetadataBuildingContext buildingContext)Easy hook to build an Identifier using the keyword safe IdentifierHelper.IdentifierNamingStrategyHelper. toPhysicalName(Identifier logicalName, MetadataBuildingContext buildingContext)Handle converting a logical name to a physical name -
Uses of MetadataBuildingContext in org.hibernate.boot.model.source.spi
Subinterfaces of MetadataBuildingContext in org.hibernate.boot.model.source.spi Modifier and Type Interface Description interfaceLocalMetadataBuildingContextSpecialization of the MetadataBuildingContext contract specific to a given origin. -
Uses of MetadataBuildingContext in org.hibernate.boot.query
Methods in org.hibernate.boot.query with parameters of type MetadataBuildingContext Modifier and Type Method Description static voidHbmResultSetMappingDescriptor. collectJoinFetch(JaxbHbmNativeQueryJoinReturnType jaxbHbmJoin, Map<String,Map<String,HbmResultSetMappingDescriptor.JoinDescriptor>> joinDescriptors, Map<String,HbmResultSetMappingDescriptor.HbmFetchParent> fetchParentByAlias, String registrationName, MetadataBuildingContext context)static List<HbmResultSetMappingDescriptor.HbmFetchDescriptor>HbmResultSetMappingDescriptor. extractPropertyFetchDescriptors(List<JaxbHbmNativeQueryPropertyReturnType> hbmReturnProperties, HbmResultSetMappingDescriptor.HbmFetchParent fetchParent, String registrationName, MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi with parameters of type MetadataBuildingContext Modifier and Type Method Description TableInFlightMetadataCollector. addDenormalizedTable(String schema, String catalog, String name, boolean isAbstract, String subselect, Table includedTable, MetadataBuildingContext buildingContext)Adds a 'denormalized table' to this repository.TableInFlightMetadataCollector. 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 mappingsCollection<org.hibernate.boot.model.source.internal.hbm.MappingDocument>AdditionalJaxbMappingProducer. produceAdditionalMappings(MetadataImplementor metadata, org.jboss.jandex.IndexView jandexIndex, org.hibernate.boot.jaxb.internal.MappingBinder mappingBinder, MetadataBuildingContext buildingContext)Deprecated.Method parameters in org.hibernate.boot.spi with type arguments of type MetadataBuildingContext Modifier and Type Method Description voidInFlightMetadataCollector. registerValueMappingResolver(Function<MetadataBuildingContext,Boolean> resolver) -
Uses of MetadataBuildingContext in org.hibernate.id
Methods in org.hibernate.id with parameters of type MetadataBuildingContext Modifier and Type Method Description voidExportableColumn.ValueImpl. createUniqueKey(MetadataBuildingContext context) -
Uses of MetadataBuildingContext in org.hibernate.mapping
Methods in org.hibernate.mapping that return MetadataBuildingContext Modifier and Type Method Description MetadataBuildingContextCollection. getBuildingContext()MetadataBuildingContextOneToMany. getBuildingContext()MetadataBuildingContextSimpleValue. getBuildingContext()default MetadataBuildingContextValue. getBuildingContext()Methods in org.hibernate.mapping with parameters of type MetadataBuildingContext Modifier and Type Method Description static AnyTypeMappingHelper. anyMapping(Type metaType, Type identifierType, Map<Object,String> metaValueToEntityNameMap, boolean lazy, MetadataBuildingContext buildingContext)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.voidValue. createUniqueKey(MetadataBuildingContext context)IdentifierColumn. getNameIdentifier(MetadataBuildingContext buildingContext)static ManyToOneTypeMappingHelper. manyToOne(String referencedEntityName, boolean referenceToPrimaryKey, String referencedPropertyName, String propertyName, boolean isLogicalOneToOne, boolean lazy, boolean unwrapProxy, boolean ignoreNotFound, MetadataBuildingContext buildingContext)static OneToOneTypeMappingHelper. oneToOne(String referencedEntityName, ForeignKeyDirection foreignKeyType, boolean referenceToPrimaryKey, String referencedPropertyName, boolean lazy, boolean unwrapProxy, String owningEntityName, String owningEntityPropertyName, boolean constrained, MetadataBuildingContext buildingContext)booleanBasicValue. resolve(MetadataBuildingContext buildingContext)booleanDependantValue. resolve(MetadataBuildingContext buildingContext)booleanResolvable. resolve(MetadataBuildingContext buildingContext)static SpecialOneToOneTypeMappingHelper. specialOneToOne(String referencedEntityName, ForeignKeyDirection foreignKeyType, boolean referenceToPrimaryKey, String referencedPropertyName, boolean lazy, boolean unwrapProxy, String owningEntityName, String owningEntityPropertyName, boolean constrained, MetadataBuildingContext buildingContext)static TimeZoneStorageStrategyBasicValue. timeZoneStorageStrategy(TimeZoneStorageType timeZoneStorageType, MetadataBuildingContext buildingContext) -
Uses of MetadataBuildingContext in org.hibernate.type
Constructors in org.hibernate.type with parameters of type MetadataBuildingContext Constructor Description ComponentType(Component component, int[] originalPropertyOrder, MetadataBuildingContext context)Deprecated, for removal: This API element is subject to removal in a future version.EmbeddedComponentType(Component component, int[] originalPropertyOrder, MetadataBuildingContext buildingContext)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of MetadataBuildingContext in org.hibernate.type.spi
Methods in org.hibernate.type.spi that return MetadataBuildingContext Modifier and Type Method Description MetadataBuildingContextTypeConfiguration. 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 MetadataBuildingContext Modifier and Type Method Description voidTypeConfiguration. scope(MetadataBuildingContext metadataBuildingContext)Scope thisTypeConfigurationto the givenMetadataBuildingContext.
-