Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.jpa.boot.internal |
Modifier and Type | Method and Description |
---|---|
<T extends MetadataBuilder> |
MetadataBuilder.unwrap(Class<T> type)
Allows unwrapping this builder as another, more specific type.
|
Modifier and Type | Method and 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)
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)
Adds an AttributeConverter by a AttributeConverterDefinition
|
MetadataBuilder |
MetadataBuilder.applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass)
Adds an AttributeConverter by its Class.
|
MetadataBuilder |
MetadataBuilder.applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass,
boolean autoApply)
Adds an AttributeConverter by its Class plus a boolean indicating whether to auto apply it.
|
MetadataBuilder |
MetadataBuilder.applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject) |
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(CompositeUserType type,
String... keys)
Register an additional or overridden composite custom type mapping.
|
MetadataBuilder |
MetadataBuilder.applyBasicType(UserType type,
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(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(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.applyReflectionManager(ReflectionManager reflectionManager)
Deprecated.
Deprecated (with no replacement) to indicate that this will go away as
we migrate away from Hibernate Commons Annotations to Jandex for annotation handling
and XMl->annotation merging.
|
MetadataBuilder |
MetadataBuilder.applyScanEnvironment(ScanEnvironment scanEnvironment)
Consider this temporary as discussed on
ScanEnvironment |
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(String functionName,
SQLFunction function) |
MetadataBuilder |
MetadataBuilder.applyTempClassLoader(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, should
NVARCHAR be used instead of VARCHAR ? NCLOB instead of CLOB ?
Its default is defined by the AvailableSettings.USE_NATIONALIZED_CHARACTER_DATA
setting if using property-based configuration. |
MetadataBuilder |
MetadataBuilder.enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean enabled)
Similarly to
enableExplicitDiscriminatorsForJoinedSubclassSupport(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 is
false
Its default is defined by the AvailableSettings.FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT
setting if using property-based configuration. |
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
Its default is defined by the AvailableSettings.USE_NEW_ID_GENERATOR_MAPPINGS
setting if using property-based configuration. |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
MetadataBuilderImpl |
Modifier and Type | Method and Description |
---|---|
<T extends MetadataBuilder> |
MetadataBuilderImpl.unwrap(Class<T> type) |
Modifier and Type | Interface and Description |
---|---|
interface |
MetadataBuilderImplementor
Internal API for MetadataBuilder exposing the building options being collected.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDelegatingMetadataBuilderImplementor<T extends AbstractDelegatingMetadataBuilderImplementor<T>>
Convenience base class for custom implementors of
MetadataBuilderImplementor using delegation. |
Modifier and Type | Method and Description |
---|---|
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAccessType(AccessType accessType) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyArchiveDescriptorFactory(ArchiveDescriptorFactory factory) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAttributeConverter(AttributeConverter attributeConverter) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAttributeConverter(AttributeConverter attributeConverter,
boolean autoApply) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAttributeConverter(AttributeConverterDefinition definition) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAttributeConverter(Class<? extends AttributeConverter> attributeConverterClass,
boolean autoApply) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyAuxiliaryDatabaseObject(AuxiliaryDatabaseObject auxiliaryDatabaseObject) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(BasicType type) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(BasicType type,
String... keys) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(CompositeUserType type,
String... keys) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyBasicType(UserType type,
String... keys) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.applyCacheRegionDefinition(CacheRegionDefinition cacheRegionDefinition) |
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.applyReflectionManager(ReflectionManager reflectionManager) |
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,
SQLFunction 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) |
MetadataBuilder |
AbstractDelegatingMetadataBuilderImplementor.enableNewIdentifierGeneratorSupport(boolean enable) |
Modifier and Type | Method and Description |
---|---|
void |
MetadataBuilderInitializer.contribute(MetadataBuilder metadataBuilder,
StandardServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
protected void |
EntityManagerFactoryBuilderImpl.populate(MetadataBuilder metamodelBuilder,
EntityManagerFactoryBuilderImpl.MergedSettings mergedSettings,
StandardServiceRegistry ssr,
List<AttributeConverterDefinition> attributeConverterDefinitions) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.