Uses of Interface
org.hibernate.boot.MetadataBuilder
-
Packages that use MetadataBuilder Package Description org.hibernate.boot This package contains the interfaces that make up the bootstrap API for Hibernate.org.hibernate.boot.internal org.hibernate.boot.spi A range of SPIs allowing integration with—and customization of—the process of building metadata.org.hibernate.testing.junit4 org.hibernate.testing.orm.junit -
-
Uses of MetadataBuilder in org.hibernate.boot
Methods in org.hibernate.boot that return MetadataBuilder Modifier and Type Method Description MetadataBuilder
MetadataBuilder. applyAccessType(AccessType accessType)
Specify the second-level access-type to be used by default for entities and collections that define second-level caching, but do not specify a granular access-type.MetadataBuilder
MetadataBuilder. applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)
Specify a particular ArchiveDescriptorFactory instance to use in scanning.MetadataBuilder
MetadataBuilder. applyAttributeConverter(AttributeConverter<?,?> attributeConverter, boolean autoApply)
Adds anAttributeConverter
instance, explicitly indicating whether to auto-apply it.<O,R>
MetadataBuilderMetadataBuilder. applyAttributeConverter(AttributeConverter<O,R> attributeConverter)
Adds an AttributeConverter instance.<O,R>
MetadataBuilderMetadataBuilder. applyAttributeConverter(Class<? extends AttributeConverter<O,R>> attributeConverterClass)
Adds an AttributeConverter by its Class.<O,R>
MetadataBuilderMetadataBuilder. applyAttributeConverter(Class<? extends AttributeConverter<O,R>> attributeConverterClass, boolean autoApply)
Adds anAttributeConverter
byClass
, explicitly indicating whether to auto-apply it.MetadataBuilder
MetadataBuilder. applyAttributeConverter(ConverterDescriptor descriptor)
Adds an AttributeConverter by aConverterDescriptor
MetadataBuilder
MetadataBuilder. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
Contribute anAuxiliaryDatabaseObject
.MetadataBuilder
MetadataBuilder. applyBasicType(BasicType<?> type)
Specify an additional or overridden basic type mapping.MetadataBuilder
MetadataBuilder. applyBasicType(BasicType<?> type, String... keys)
Specify an additional or overridden basic type mapping supplying specific registration keys.MetadataBuilder
MetadataBuilder. applyBasicType(UserType<?> type, String... keys)
Register an additional or overridden custom type mapping.MetadataBuilder
MetadataBuilder. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
Apply aCacheRegionDefinition
to be applied to an entity, collection, or query while building theMetadata
object.MetadataBuilder
MetadataBuilder. applyColumnOrderingStrategy(ColumnOrderingStrategy columnOrderingStrategy)
Specify theColumnOrderingStrategy
.MetadataBuilder
MetadataBuilder. applyFunctions(FunctionContributor functionContributor)
Apply an explicitFunctionContributor
(implicit application viaServiceLoader
will still happen too)MetadataBuilder
MetadataBuilder. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
Deprecated.sinceIdGeneratorStrategyInterpreter
is deprecatedMetadataBuilder
MetadataBuilder. applyImplicitCatalogName(String implicitCatalogName)
Specify the implicit catalog name to apply to any unqualified database names.MetadataBuilder
MetadataBuilder. applyImplicitListSemantics(CollectionClassification classification)
MetadataBuilder
MetadataBuilder. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
Specify theImplicitNamingStrategy
.MetadataBuilder
MetadataBuilder. applyImplicitSchemaName(String implicitSchemaName)
Specify the implicit schema name to apply to any unqualified database names.MetadataBuilder
MetadataBuilder. applyIndexView(org.jboss.jandex.IndexView jandexView)
Allows specifying a specific Jandex index to use for reading annotation information.MetadataBuilder
MetadataBuilder. applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)
Specify thePhysicalNamingStrategy
.MetadataBuilder
MetadataBuilder. applyScanEnvironment(ScanEnvironment scanEnvironment)
Consider this temporary as discussed onScanEnvironment
MetadataBuilder
MetadataBuilder. applyScanner(Scanner scanner)
Specify a particular Scanner instance to use.MetadataBuilder
MetadataBuilder. applyScanOptions(ScanOptions scanOptions)
Specify the options to be used in performing scanning.MetadataBuilder
MetadataBuilder. applySharedCacheMode(SharedCacheMode cacheMode)
Specify the second-level cache mode.MetadataBuilder
MetadataBuilder. applySourceProcessOrdering(MetadataSourceType... sourceTypes)
Deprecated, for removal: This API element is subject to removal in a future version.hbm.xml
mappings are no longer supported, making this irrelevantMetadataBuilder
MetadataBuilder. applySqlFunction(String functionName, SqmFunctionDescriptor function)
Contribute aSqmFunctionDescriptor
to HQL.MetadataBuilder
MetadataBuilder. applyTempClassLoader(ClassLoader tempClassLoader)
Apply aClassLoader
for use while building theMetadata
.MetadataBuilder
MetadataBuilder. applyTypes(TypeContributor typeContributor)
Apply an explicitTypeContributor
(implicit application viaServiceLoader
will still happen too)MetadataBuilder
MetadataBuilder. enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Should we process or ignore explicitly defined discriminators in the case of joined subclasses? The legacy behavior of Hibernate was to ignore the discriminator annotations because Hibernate (unlike some providers) does not need discriminators to determine the concrete type when it comes to joined inheritance.MetadataBuilder
MetadataBuilder. enableGlobalNationalizedCharacterDataSupport(boolean enabled)
Should nationalized variants of character data be used in the database types? For example, shouldNVARCHAR
be used instead ofVARCHAR
?NCLOB
instead ofCLOB
?MetadataBuilder
MetadataBuilder. enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Similarly toenableExplicitDiscriminatorsForJoinedSubclassSupport(boolean)
, but here how should we treat joined inheritance when there is no explicitly defined discriminator annotations? If enabled, we will handle joined inheritance with no explicit discriminator annotations by implicitly creating one (following the JPA implicit naming rules).MetadataBuilder
MetadataBuilder. enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)
For entities which do not explicitly say, should we force discriminators into SQL selects? The (historical) default isfalse
MetadataBuilder
MetadataSources. getMetadataBuilder()
Get a builder for metadata where non-default options can be specified.MetadataBuilder
MetadataSources. getMetadataBuilder(StandardServiceRegistry serviceRegistry)
Get a builder for metadata where non-default options can be specified. -
Uses of MetadataBuilder in org.hibernate.boot.internal
Classes in org.hibernate.boot.internal that implement MetadataBuilder Modifier and Type Class Description class
MetadataBuilderImpl
-
Uses of MetadataBuilder in org.hibernate.boot.spi
Subinterfaces of MetadataBuilder in org.hibernate.boot.spi Modifier and Type Interface Description interface
MetadataBuilderImplementor
Internal API forMetadataBuilder
exposing the building options being collected.Classes in org.hibernate.boot.spi that implement MetadataBuilder Modifier and Type Class Description class
AbstractDelegatingMetadataBuilderImplementor<T extends MetadataBuilderImplementor>
Convenience base class for custom implementors ofMetadataBuilderImplementor
using delegation.Methods in org.hibernate.boot.spi that return MetadataBuilder Modifier and Type Method Description MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAccessType(AccessType accessType)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)
<O,R>
MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(Class<? extends AttributeConverter<O,R>> attributeConverterClass)
<O,R>
MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(Class<? extends AttributeConverter<O,R>> attributeConverterClass, boolean autoApply)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(ConverterDescriptor descriptor)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType<?> type)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType<?> type, String... keys)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(UserType<?> type, String... keys)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyColumnOrderingStrategy(ColumnOrderingStrategy columnOrderingStrategy)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyFunctions(FunctionContributor functionContributor)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitCatalogName(String implicitCatalogName)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitSchemaName(String implicitSchemaName)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyIndexView(org.jboss.jandex.IndexView jandexView)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyScanEnvironment(ScanEnvironment scanEnvironment)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyScanner(Scanner scanner)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyScanOptions(ScanOptions scanOptions)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applySharedCacheMode(SharedCacheMode cacheMode)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applySourceProcessOrdering(MetadataSourceType... sourceTypes)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applySqlFunction(String functionName, SqmFunctionDescriptor function)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyTempClassLoader(ClassLoader tempClassLoader)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyTypes(TypeContributor typeContributor)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. enableGlobalNationalizedCharacterDataSupport(boolean enabled)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)
Methods in org.hibernate.boot.spi with parameters of type MetadataBuilder Modifier and Type Method Description void
MetadataBuilderContributor. contribute(MetadataBuilder metadataBuilder)
Deprecated, for removal: This API element is subject to removal in a future version.Perform the process of contributing to theMetadataBuilder
.void
MetadataBuilderInitializer. contribute(MetadataBuilder metadataBuilder, StandardServiceRegistry serviceRegistry)
-
Uses of MetadataBuilder in org.hibernate.testing.junit4
Methods in org.hibernate.testing.junit4 with parameters of type MetadataBuilder Modifier and Type Method Description protected void
BaseNonConfigCoreFunctionalTestCase. configureMetadataBuilder(MetadataBuilder metadataBuilder)
protected void
BaseNonConfigCoreFunctionalTestCase. initialize(MetadataBuilder metadataBuilder)
-
Uses of MetadataBuilder in org.hibernate.testing.orm.junit
Methods in org.hibernate.testing.orm.junit with parameters of type MetadataBuilder Modifier and Type Method Description protected void
BaseSessionFactoryFunctionalTest. applyMetadataBuilder(MetadataBuilder metadataBuilder)
-