public interface MetadataBuildingOptions
MetadataBuilder.build()
processing).Modifier and Type | Method and Description |
---|---|
boolean |
createImplicitDiscriminatorsForJoinedInheritance()
Whether we should do discrimination implicitly joined subclass style inheritance when no
discriminator info is provided.
|
ArchiveDescriptorFactory |
getArchiveDescriptorFactory()
Deprecated.
Use
BootstrapContext.getArchiveDescriptorFactory() instead. |
java.util.List<AttributeConverterInfo> |
getAttributeConverters()
Deprecated.
Use
BootstrapContext.getAttributeConverters() instead |
java.util.List<AuxiliaryDatabaseObject> |
getAuxiliaryDatabaseObjectList()
Deprecated.
Use
BootstrapContext.getAuxiliaryDatabaseObjectList() instead. |
java.util.List<BasicTypeRegistration> |
getBasicTypeRegistrations()
Access the list of BasicType registrations.
|
java.util.List<CacheRegionDefinition> |
getCacheRegionDefinitions()
Deprecated.
Use
BootstrapContext.getClassmateContext() instead. |
IdGeneratorStrategyInterpreter |
getIdGenerationTypeInterpreter() |
AccessType |
getImplicitCacheAccessType()
Access to any implicit cache AccessType.
|
ImplicitNamingStrategy |
getImplicitNamingStrategy() |
org.jboss.jandex.IndexView |
getJandexView()
Deprecated.
Use
BootstrapContext.getJandexView() instead. |
MappingDefaults |
getMappingDefaults()
Access to the mapping defaults.
|
MultiTenancyStrategy |
getMultiTenancyStrategy()
Access to the MultiTenancyStrategy for this environment.
|
PhysicalNamingStrategy |
getPhysicalNamingStrategy() |
org.hibernate.annotations.common.reflection.ReflectionManager |
getReflectionManager()
Deprecated.
Use
BootstrapContext.getReflectionManager() instead,
The plan is to remove first getReflectionManager()
keeping BootstrapContext.getReflectionManager() till the migration from
Hibernate Commons Annotations to Jandex. |
ScanEnvironment |
getScanEnvironment()
Deprecated.
Use
BootstrapContext.getScanEnvironment() instead. |
java.lang.Object |
getScanner()
Deprecated.
Use
BootstrapContext.getScanner() instead. |
ScanOptions |
getScanOptions()
Deprecated.
Use
BootstrapContext.getScanOptions() instead. |
default java.lang.String |
getSchemaCharset() |
StandardServiceRegistry |
getServiceRegistry()
Access to the service registry.
|
javax.persistence.SharedCacheMode |
getSharedCacheMode()
Access to the SharedCacheMode for determining whether we should perform second level
caching or not.
|
java.util.List<MetadataSourceType> |
getSourceProcessOrdering()
Retrieve the ordering in which sources should be processed.
|
java.util.Map<java.lang.String,SQLFunction> |
getSqlFunctions()
Deprecated.
Use
BootstrapContext.getSqlFunctions() instead. |
java.lang.ClassLoader |
getTempClassLoader()
Deprecated.
Use
BootstrapContext.getJpaTempClassLoader() instead. |
boolean |
ignoreExplicitDiscriminatorsForJoinedInheritance()
Whether explicit discriminator declarations should be ignored for joined
subclass style inheritance.
|
boolean |
isSpecjProprietarySyntaxEnabled() |
default boolean |
isXmlMappingEnabled() |
boolean |
shouldImplicitlyForceDiscriminatorInSelect()
Whether we should implicitly force discriminators into SQL selects.
|
boolean |
useNationalizedCharacterData()
Should we use nationalized variants of character data (e.g.
|
StandardServiceRegistry getServiceRegistry()
MappingDefaults getMappingDefaults()
java.util.List<BasicTypeRegistration> getBasicTypeRegistrations()
MetadataBuilder.applyBasicType(org.hibernate.type.BasicType)
MetadataBuilder.applyBasicType(org.hibernate.type.BasicType, String[])
MetadataBuilder.applyBasicType(org.hibernate.usertype.UserType, java.lang.String[])
MetadataBuilder.applyBasicType(org.hibernate.usertype.CompositeUserType, java.lang.String[])
@Deprecated org.hibernate.annotations.common.reflection.ReflectionManager getReflectionManager()
BootstrapContext.getReflectionManager()
instead,
The plan is to remove first getReflectionManager()
keeping BootstrapContext.getReflectionManager()
till the migration from
Hibernate Commons Annotations to Jandex.@Deprecated org.jboss.jandex.IndexView getJandexView()
BootstrapContext.getJandexView()
instead.MetadataBuilder.applyIndexView(org.jboss.jandex.IndexView)
, if any.@Deprecated ScanOptions getScanOptions()
BootstrapContext.getScanOptions()
instead.@Deprecated ScanEnvironment getScanEnvironment()
BootstrapContext.getScanEnvironment()
instead.ScanEnvironment
@Deprecated java.lang.Object getScanner()
BootstrapContext.getScanner()
instead.@Deprecated ArchiveDescriptorFactory getArchiveDescriptorFactory()
BootstrapContext.getArchiveDescriptorFactory()
instead.@Deprecated java.lang.ClassLoader getTempClassLoader()
BootstrapContext.getJpaTempClassLoader()
instead.PersistenceUnitInfo.getNewTempClassLoader()
, if any.ImplicitNamingStrategy getImplicitNamingStrategy()
PhysicalNamingStrategy getPhysicalNamingStrategy()
javax.persistence.SharedCacheMode getSharedCacheMode()
AccessType getImplicitCacheAccessType()
MultiTenancyStrategy getMultiTenancyStrategy()
IdGeneratorStrategyInterpreter getIdGenerationTypeInterpreter()
@Deprecated java.util.List<CacheRegionDefinition> getCacheRegionDefinitions()
BootstrapContext.getClassmateContext()
instead.boolean ignoreExplicitDiscriminatorsForJoinedInheritance()
true
indicates they should be ignored; false
indicates they should not be ignored.MetadataBuilder.enableExplicitDiscriminatorsForJoinedSubclassSupport(boolean)
,
AvailableSettings.IGNORE_EXPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
boolean createImplicitDiscriminatorsForJoinedInheritance()
true
indicates we should do discrimination; false
we should not.MetadataBuilder.enableImplicitDiscriminatorsForJoinedSubclassSupport(boolean)
,
AvailableSettings.IMPLICIT_DISCRIMINATOR_COLUMNS_FOR_JOINED_SUBCLASS
boolean shouldImplicitlyForceDiscriminatorInSelect()
true
indicates we should force the discriminator in selects for any mappings
which do not say explicitly.AvailableSettings.FORCE_DISCRIMINATOR_IN_SELECTS_BY_DEFAULT
boolean useNationalizedCharacterData()
true
if nationalized character data should be used by default; false
otherwise.MetadataBuilder.enableGlobalNationalizedCharacterDataSupport(boolean)
,
AvailableSettings.USE_NATIONALIZED_CHARACTER_DATA
boolean isSpecjProprietarySyntaxEnabled()
java.util.List<MetadataSourceType> getSourceProcessOrdering()
default java.lang.String getSchemaCharset()
default boolean isXmlMappingEnabled()
@Deprecated java.util.Map<java.lang.String,SQLFunction> getSqlFunctions()
BootstrapContext.getSqlFunctions()
instead.@Deprecated java.util.List<AuxiliaryDatabaseObject> getAuxiliaryDatabaseObjectList()
BootstrapContext.getAuxiliaryDatabaseObjectList()
instead.@Deprecated java.util.List<AttributeConverterInfo> getAttributeConverters()
BootstrapContext.getAttributeConverters()
insteadCopyright © 2001-2019 Red Hat, Inc. All Rights Reserved.