Top Description Methods
org.hibernate.boot.spi

public Interface MetadataBuildingContext

Known Direct Subinterfaces
org.hibernate.boot.model.source.spi.LocalMetadataBuildingContext
Known Direct Implementers
org.hibernate.boot.internal.MetadataBuildingContextRootImpl
Imports
org.hibernate.Incubating, org.hibernate.boot.model.TypeDefinitionRegistry, org.hibernate.boot.model.naming.ObjectNameNormalizer, org.hibernate.internal.util.config.ConfigurationHelper

Describes the context in which the process of building org.hibernate.boot.Metadata from org.hibernate.boot.MetadataSources occurs.

MetadataBuildingContexts are hierarchical: global, persistence unit, document, mapping.

Author
Steve Ebersole
Since
5.0

Method Summary

Modifier and TypeMethod and Description
public BootstrapContext
public MetadataBuildingOptions

Returns:

The options
getBuildingOptions
()

Access to the options specified by the org.hibernate.boot.MetadataBuilder

public String
getCurrentContributorName()

The name of the contributor whose mappings we are currently processing

public MappingDefaults

Returns:

The mapping defaults.
getMappingDefaults
()

Access to mapping defaults in effect for this context

public InFlightMetadataCollector

Returns:

The metadata collector.
getMetadataCollector
()

Deprecated as a consequence of InFlightMetadataCollector being deprecated.
Access to the collector of metadata as we build it.
public ObjectNameNormalizer

Returns:

The ObjectNameNormalizer
getObjectNameNormalizer
()

Not sure how I feel about this exposed here

public default int
public default int
public default int
public default int
public default int
public TypeDefinitionRegistry

Method Detail

getBootstrapContextback to summary
public BootstrapContext getBootstrapContext()
getBuildingOptionsback to summary
public MetadataBuildingOptions getBuildingOptions()

Access to the options specified by the org.hibernate.boot.MetadataBuilder

Returns:MetadataBuildingOptions

The options

getCurrentContributorNameback to summary
public String getCurrentContributorName()

The name of the contributor whose mappings we are currently processing

getMappingDefaultsback to summary
public MappingDefaults getMappingDefaults()

Access to mapping defaults in effect for this context

Returns:MappingDefaults

The mapping defaults.

getMetadataCollectorback to summary
public InFlightMetadataCollector getMetadataCollector()

Deprecated

as a consequence of InFlightMetadataCollector being deprecated. See corresponding docs for further information.

Access to the collector of metadata as we build it.

Returns:InFlightMetadataCollector

The metadata collector.

getObjectNameNormalizerback to summary
public ObjectNameNormalizer getObjectNameNormalizer()

Not sure how I feel about this exposed here

Returns:ObjectNameNormalizer

The ObjectNameNormalizer

getPreferredSqlTypeCodeForArrayback to summary
public default int getPreferredSqlTypeCodeForArray()
Annotations
@Incubating
getPreferredSqlTypeCodeForBooleanback to summary
public default int getPreferredSqlTypeCodeForBoolean()
Annotations
@Incubating
getPreferredSqlTypeCodeForDurationback to summary
public default int getPreferredSqlTypeCodeForDuration()
Annotations
@Incubating
getPreferredSqlTypeCodeForInstantback to summary
public default int getPreferredSqlTypeCodeForInstant()
Annotations
@Incubating
getPreferredSqlTypeCodeForUuidback to summary
public default int getPreferredSqlTypeCodeForUuid()
Annotations
@Incubating
getTypeDefinitionRegistryback to summary
public TypeDefinitionRegistry getTypeDefinitionRegistry()