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 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(AttributeConverter<?,?> attributeConverter, boolean autoApply)Adds anAttributeConverterinstance, 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 anAttributeConverterbyClass, explicitly indicating whether to auto-apply it.MetadataBuilderMetadataBuilder. applyAttributeConverter(ConverterDescriptor descriptor)Adds an AttributeConverter by aConverterDescriptorMetadataBuilderMetadataBuilder. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)Contribute anAuxiliaryDatabaseObject.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(UserType<?> type, String... keys)Register an additional or overridden custom type mapping.MetadataBuilderMetadataBuilder. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)Apply aCacheRegionDefinitionto be applied to an entity, collection, or query while building theMetadataobject.MetadataBuilderMetadataBuilder. applyColumnOrderingStrategy(ColumnOrderingStrategy columnOrderingStrategy)Specify theColumnOrderingStrategy.MetadataBuilderMetadataBuilder. applyFunctions(FunctionContributor functionContributor)Apply an explicitFunctionContributor(implicit application viaServiceLoaderwill still happen too)MetadataBuilderMetadataBuilder. applyImplicitCatalogName(String implicitCatalogName)Specify the implicit catalog name to apply to any unqualified database names.MetadataBuilderMetadataBuilder. applyImplicitListSemantics(CollectionClassification classification)MetadataBuilderMetadataBuilder. applyImplicitNamingStrategy(ImplicitNamingStrategy namingStrategy)Specify theImplicitNamingStrategy.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 thePhysicalNamingStrategy.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.MetadataBuilderMetadataBuilder. applySourceProcessOrdering(MetadataSourceType... sourceTypes)Deprecated, for removal: This API element is subject to removal in a future version.hbm.xmlmappings are no longer supported, making this irrelevantMetadataBuilderMetadataBuilder. applySqlFunction(String functionName, SqmFunctionDescriptor function)Contribute aSqmFunctionDescriptorto HQL.MetadataBuilderMetadataBuilder. applyTempClassLoader(ClassLoader tempClassLoader)Apply aClassLoaderfor use while building theMetadata.MetadataBuilderMetadataBuilder. applyTypes(TypeContributor typeContributor)Apply an explicitTypeContributor(implicit application viaServiceLoaderwill still happen too)MetadataBuilderMetadataBuilder. 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.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 isfalseMetadataBuilderMetadataSources. getMetadataBuilder()Get a builder for metadata where non-default options can be specified.MetadataBuilderMetadataSources. 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 classMetadataBuilderImpl -
Uses of MetadataBuilder in org.hibernate.boot.spi
Subinterfaces of MetadataBuilder in org.hibernate.boot.spi Modifier and Type Interface Description interfaceMetadataBuilderImplementorInternal API forMetadataBuilderexposing 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 that return MetadataBuilder Modifier and Type Method Description MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAccessType(AccessType accessType)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(AttributeConverter attributeConverter)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. 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)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAttributeConverter(ConverterDescriptor descriptor)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType<?> type)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(BasicType<?> type, String... keys)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyBasicType(UserType<?> type, String... keys)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyColumnOrderingStrategy(ColumnOrderingStrategy columnOrderingStrategy)MetadataBuilderAbstractDelegatingMetadataBuilderImplementor. applyFunctions(FunctionContributor functionContributor)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, SqmFunctionDescriptor 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)Methods in org.hibernate.boot.spi with parameters of type MetadataBuilder Modifier and Type Method Description voidMetadataBuilderContributor. contribute(MetadataBuilder metadataBuilder)Deprecated, for removal: This API element is subject to removal in a future version.Perform the process of contributing to theMetadataBuilder.voidMetadataBuilderInitializer. 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 voidBaseNonConfigCoreFunctionalTestCase. configureMetadataBuilder(MetadataBuilder metadataBuilder)protected voidBaseNonConfigCoreFunctionalTestCase. 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 voidBaseSessionFactoryFunctionalTest. applyMetadataBuilder(MetadataBuilder metadataBuilder)
-