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 -
-
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(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 MetadataBuilderMetadataBuilder. 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.MetadataBuilderMetadataBuilder. applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)Specify a particular ArchiveDescriptorFactory instance to use in scanning.MetadataBuilderMetadataBuilder. applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass)Adds an AttributeConverter by its Class.MetadataBuilderMetadataBuilder. applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)Adds an AttributeConverter by its Class plus a boolean indicating whether to auto apply it.MetadataBuilderMetadataBuilder. applyAttributeConverter(AttributeConverter attributeConverter)Adds an AttributeConverter instance.MetadataBuilderMetadataBuilder. applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)Adds an AttributeConverter instance, explicitly indicating whether to auto-apply.MetadataBuilderMetadataBuilder. 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.MetadataBuilderMetadataBuilder. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)MetadataBuilderMetadataBuilder. applyBasicType(BasicType type)Specify an additional or overridden basic type mapping.MetadataBuilderMetadataBuilder. applyBasicType(BasicType type, String... keys)Specify an additional or overridden basic type mapping supplying specific registration keys.MetadataBuilderMetadataBuilder. applyBasicType(CompositeUserType type, String... keys)Register an additional or overridden composite custom type mapping.MetadataBuilderMetadataBuilder. applyBasicType(UserType type, String... keys)Register an additional or overridden custom type mapping.MetadataBuilderMetadataBuilder. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)Apply a CacheRegionDefinition to be applied to an entity, collection or query while building the Metadata object.MetadataBuilderMetadataBuilder. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)MetadataBuilderMetadataBuilder. applyImplicitCatalogName(String implicitCatalogName)Specify the implicit catalog name to apply to any unqualified database names.MetadataBuilderMetadataBuilder. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)Specify the ImplicitNamingStrategy to use in building the Metadata.MetadataBuilderMetadataBuilder. applyImplicitSchemaName(String implicitSchemaName)Specify the implicit schema name to apply to any unqualified database names.MetadataBuilderMetadataBuilder. applyIndexView(org.jboss.jandex.IndexView jandexView)Allows specifying a specific Jandex index to use for reading annotation information.MetadataBuilderMetadataBuilder. applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)Specify the PhysicalNamingStrategy to use in building the Metadata.MetadataBuilderMetadataBuilder. applyScanEnvironment(ScanEnvironment scanEnvironment)Consider this temporary as discussed onScanEnvironmentMetadataBuilderMetadataBuilder. applyScanner(Scanner scanner)Specify a particular Scanner instance to use.MetadataBuilderMetadataBuilder. applyScanOptions(ScanOptions scanOptions)Specify the options to be used in performing scanning.MetadataBuilderMetadataBuilder. applySharedCacheMode(SharedCacheMode cacheMode)Specify the second-level cache mode to be used.MetadataBuilderMetadataBuilder. applySourceProcessOrdering(MetadataSourceType... sourceTypes)Apply a specific ordering to the processing of sources.MetadataBuilderMetadataBuilder. applySqlFunction(String functionName, SQLFunction function)MetadataBuilderMetadataBuilder. applyTempClassLoader(ClassLoader tempClassLoader)Apply a ClassLoader for use while building the Metadata.MetadataBuilderMetadataBuilder. applyTypes(TypeContributor typeContributor)Apply an explicit TypeContributor (implicit application via ServiceLoader will still happen too)MetadataBuilderMetadataBuilder. enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)Should we process or ignore explicitly defined discriminators in the case of joined-subclasses.MetadataBuilderMetadataBuilder. enableGlobalNationalizedCharacterDataSupport(boolean enabled)Should nationalized variants of character data be used in the database types? For example, shouldNVARCHARbe used instead ofVARCHAR?NCLOBinstead ofCLOB?MetadataBuilderMetadataBuilder. 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).MetadataBuilderMetadataBuilder. enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)For entities which do not explicitly say, should we force discriminators into SQL selects? The (historical) default isfalseMetadataBuilderMetadataBuilder. enableNewIdentifierGeneratorSupport(boolean enable)Should we enable support for the "new" (since 3.2) identifier generator mappings for handling:GenerationType.SEQUENCEGenerationType.IDENTITYGenerationType.TABLEGenerationType.AUTOMetadataBuilderMetadataSources. getMetadataBuilder()Get a builder for metadata where non-default options can be specified.MetadataBuilderMetadataSources. 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 interfaceMetadataBuilderImplementorInternal API for MetadataBuilder exposing the building options being collected.Classes in org.hibernate.boot.spi that implement MetadataBuilder Modifier and Type Class Description classAbstractDelegatingMetadataBuilderImplementor<T extends MetadataBuilderImplementor>Convenience base class for custom implementors ofMetadataBuilderImplementorusing delegation.Methods in org.hibernate.boot.spi with type parameters of type MetadataBuilder Modifier and Type Method Description <M extends MetadataBuilder>
MAbstractDelegatingMetadataBuilderImplementor. unwrap(Class<M> type)Methods in org.hibernate.boot.spi that return MetadataBuilder Modifier and Type Method Description MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAccessType(AccessType accessType)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass, boolean autoApply)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter, boolean autoApply)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverterDefinition definition)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType type)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType type, String... keys)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(CompositeUserType type, String... keys)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(UserType type, String... keys)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyIdGenerationTypeInterpreter(IdGeneratorStrategyInterpreter interpreter)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyImplicitCatalogName(String implicitCatalogName)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyImplicitSchemaName(String implicitSchemaName)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyIndexView(org.jboss.jandex.IndexView jandexView)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyPhysicalNamingStrategy(PhysicalNamingStrategy namingStrategy)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyScanEnvironment(ScanEnvironment scanEnvironment)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyScanner(Scanner scanner)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyScanOptions(ScanOptions scanOptions)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applySharedCacheMode(SharedCacheMode cacheMode)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applySourceProcessOrdering(MetadataSourceType... sourceTypes)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applySqlFunction(String functionName, SQLFunction function)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyTempClassLoader(ClassLoader tempClassLoader)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyTypes(TypeContributor typeContributor)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. enableGlobalNationalizedCharacterDataSupport(boolean enabled)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. enableImplicitForcingOfDiscriminatorsInSelect(boolean supported)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. enableNewIdentifierGeneratorSupport(boolean enable)Methods in org.hibernate.boot.spi with parameters of type MetadataBuilder Modifier and Type Method Description voidMetadataBuilderContributor. contribute(MetadataBuilder metadataBuilder)Perform the process of contributing to MetadataSources.voidMetadataBuilderInitializer. contribute(MetadataBuilder metadataBuilder, StandardServiceRegistry serviceRegistry)
-