Uses of Interface
org.hibernate.boot.MetadataBuilder
-
Packages that use MetadataBuilder Package Description org.hibernate.boot This package contains the contracts that make up the Hibernate native bootstrapping API (building a SessionFactory).org.hibernate.boot.spi org.hibernate.testing.junit4 org.hibernate.testing.orm.junit -
-
Uses of MetadataBuilder in org.hibernate.boot
Methods in org.hibernate.boot with type parameters of type MetadataBuilder Modifier and Type Method Description <T extends MetadataBuilder>
TMetadataBuilder. unwrap(java.lang.Class<T> type)
Allows unwrapping this builder as another, more specific type.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(java.lang.Class<? extends AttributeConverter> attributeConverterClass)
Adds an AttributeConverter by its Class.MetadataBuilder
MetadataBuilder. applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)
Adds an AttributeConverter by its Class plus a boolean indicating whether to auto apply it.MetadataBuilder
MetadataBuilder. applyAttributeConverter(AttributeConverter attributeConverter)
Adds an AttributeConverter instance.MetadataBuilder
MetadataBuilder. applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)
Adds an AttributeConverter instance, explicitly indicating whether to auto-apply.MetadataBuilder
MetadataBuilder. applyAttributeConverter(AttributeConverterDefinition definition)
Deprecated.(since 5.3) AttributeConverterDefinition forces early access to the AttributeConverter instance which precludes the possibility to resolve the converter from CDI, etc.MetadataBuilder
MetadataBuilder. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
MetadataBuilder
MetadataBuilder. applyBasicType(BasicType type)
Specify an additional or overridden basic type mapping.MetadataBuilder
MetadataBuilder. applyBasicType(BasicType type, java.lang.String... keys)
Specify an additional or overridden basic type mapping supplying specific registration keys.MetadataBuilder
MetadataBuilder. applyBasicType(CompositeUserType type, java.lang.String... keys)
Register an additional or overridden composite custom type mapping.MetadataBuilder
MetadataBuilder. applyBasicType(UserType type, java.lang.String... keys)
Register an additional or overridden custom type mapping.MetadataBuilder
MetadataBuilder. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
Apply a CacheRegionDefinition to be applied to an entity, collection or query while building the Metadata object.MetadataBuilder
MetadataBuilder. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
MetadataBuilder
MetadataBuilder. applyImplicitCatalogName(java.lang.String implicitCatalogName)
Specify the implicit catalog name to apply to any unqualified database names.MetadataBuilder
MetadataBuilder. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
Specify the ImplicitNamingStrategy to use in building the Metadata.MetadataBuilder
MetadataBuilder. applyImplicitSchemaName(java.lang.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 the PhysicalNamingStrategy to use in building the Metadata.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 to be used.MetadataBuilder
MetadataBuilder. applySourceProcessOrdering(MetadataSourceType... sourceTypes)
Apply a specific ordering to the processing of sources.MetadataBuilder
MetadataBuilder. applySqlFunction(java.lang.String functionName, SQLFunction function)
MetadataBuilder
MetadataBuilder. applyTempClassLoader(java.lang.ClassLoader tempClassLoader)
Apply a ClassLoader for use while building the Metadata.MetadataBuilder
MetadataBuilder. applyTypes(TypeContributor typeContributor)
Apply an explicit TypeContributor (implicit application via ServiceLoader will still happen too)MetadataBuilder
MetadataBuilder. enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Should we process or ignore explicitly defined discriminators in the case of joined-subclasses.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
MetadataBuilder. enableNewIdentifierGeneratorSupport(boolean enable)
Should we enable support for the "new" (since 3.2) identifier generator mappings for handling:GenerationType.SEQUENCE
GenerationType.IDENTITY
GenerationType.TABLE
GenerationType.AUTO
MetadataBuilder
MetadataSources. getMetadataBuilder()
Get a builder for metadata where non-default options can be specified.MetadataBuilder
MetadataSources. getMetadataBuilder(StandardServiceRegistry serviceRegistry)
Deprecated.UseMetadataSources.getMetadataBuilder()
instead -
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 for MetadataBuilder 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 with type parameters of type MetadataBuilder Modifier and Type Method Description <M extends MetadataBuilder>
MAbstractDelegatingMetadataBuilderImplementor. unwrap(java.lang.Class<M> type)
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(java.lang.Class<? extends AttributeConverter> attributeConverterClass)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(java.lang.Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverterDefinition definition)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType type)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType type, java.lang.String... keys)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(CompositeUserType type, java.lang.String... keys)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyBasicType(UserType type, java.lang.String... keys)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitCatalogName(java.lang.String implicitCatalogName)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyImplicitSchemaName(java.lang.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(java.lang.String functionName, SQLFunction function)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. applyTempClassLoader(java.lang.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)
MetadataBuilder
AbstractDelegatingMetadataBuilderImplementor. enableNewIdentifierGeneratorSupport(boolean enable)
Methods in org.hibernate.boot.spi with parameters of type MetadataBuilder Modifier and Type Method Description void
MetadataBuilderContributor. contribute(MetadataBuilder metadataBuilder)
Perform the process of contributing to MetadataSources.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)
-