类 OverriddenMappingDefaults
- java.lang.Object
-
- org.hibernate.boot.model.source.internal.OverriddenMappingDefaults
-
- 所有已实现的接口:
MappingDefaults
public class OverriddenMappingDefaults extends Object implements MappingDefaults
Represents a "nested level" in the mapping defaults stack.- 作者:
- Steve Ebersole
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classOverriddenMappingDefaults.Builder
-
字段概要
-
从接口继承的字段 org.hibernate.boot.spi.MappingDefaults
DEFAULT_CASCADE_NAME, DEFAULT_DISCRIMINATOR_COLUMN_NAME, DEFAULT_IDENTIFIER_COLUMN_NAME, DEFAULT_PROPERTY_ACCESS_NAME, DEFAULT_TENANT_IDENTIFIER_COLUMN_NAME
-
-
构造器概要
构造器 构造器 说明 OverriddenMappingDefaults(String implicitSchemaName, String implicitCatalogName, boolean implicitlyQuoteIdentifiers, String implicitIdColumnName, String implicitTenantIdColumnName, String implicitDiscriminatorColumnName, String implicitPackageName, boolean autoImportEnabled, String implicitCascadeStyleName, String implicitPropertyAccessorName, boolean entitiesImplicitlyLazy, boolean pluralAttributesImplicitlyLazy, AccessType implicitCacheAccessType)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanareCollectionsImplicitlyLazy()Identifies whether plural attributes are lazy by default if not specified in the mapping.booleanareEntitiesImplicitlyLazy()Identifies whether singular associations (many-to-one, one-to-one) are lazy by default if not specified in the mapping.AccessTypegetImplicitCacheAccessType()The cache access type to use if none is specifiedStringgetImplicitCascadeStyleName()Identifies the cascade style to apply to associations if none specified in the mapping.StringgetImplicitCatalogName()Identifies the database catalog name to use if none specified in the mapping.StringgetImplicitDiscriminatorColumnName()Identifies the column name to use for the discriminator column if none specified in the mapping.StringgetImplicitIdColumnName()Identifies the column name to use for the identifier column if none specified in the mapping.StringgetImplicitPackageName()Identifies the package name to use if none specified in the mapping.StringgetImplicitPropertyAccessorName()Identifies the defaultPropertyAccessStrategyname to use if none specified in the mapping.StringgetImplicitSchemaName()Identifies the database schema name to use if none specified in the mapping.StringgetImplicitTenantIdColumnName()Identifies the column name to use for the tenant identifier column if none is specified in the mapping.booleanisAutoImportEnabled()Is auto-importing of entity (short) names enabled?booleanshouldImplicitlyQuoteIdentifiers()Should all database identifiers encountered in this context be implicitly quoted?
-
-
-
构造器详细资料
-
OverriddenMappingDefaults
public OverriddenMappingDefaults(String implicitSchemaName, String implicitCatalogName, boolean implicitlyQuoteIdentifiers, String implicitIdColumnName, String implicitTenantIdColumnName, String implicitDiscriminatorColumnName, String implicitPackageName, boolean autoImportEnabled, String implicitCascadeStyleName, String implicitPropertyAccessorName, boolean entitiesImplicitlyLazy, boolean pluralAttributesImplicitlyLazy, AccessType implicitCacheAccessType)
-
-
方法详细资料
-
getImplicitSchemaName
public String getImplicitSchemaName()
从接口复制的说明:MappingDefaultsIdentifies the database schema name to use if none specified in the mapping.- 指定者:
getImplicitSchemaName在接口中MappingDefaults- 返回:
- The implicit schema name; may be
null
-
getImplicitCatalogName
public String getImplicitCatalogName()
从接口复制的说明:MappingDefaultsIdentifies the database catalog name to use if none specified in the mapping.- 指定者:
getImplicitCatalogName在接口中MappingDefaults- 返回:
- The implicit catalog name; may be
null
-
shouldImplicitlyQuoteIdentifiers
public boolean shouldImplicitlyQuoteIdentifiers()
从接口复制的说明:MappingDefaultsShould all database identifiers encountered in this context be implicitly quoted?trueindicates that all identifier encountered within this context should be quoted.falseindicates indicates that identifiers within this context are onl;y quoted if explicitly quoted.- 指定者:
shouldImplicitlyQuoteIdentifiers在接口中MappingDefaults- 返回:
true/false
-
getImplicitIdColumnName
public String getImplicitIdColumnName()
从接口复制的说明:MappingDefaultsIdentifies the column name to use for the identifier column if none specified in the mapping.- 指定者:
getImplicitIdColumnName在接口中MappingDefaults- 返回:
- The implicit identifier column name
-
getImplicitTenantIdColumnName
public String getImplicitTenantIdColumnName()
从接口复制的说明:MappingDefaultsIdentifies the column name to use for the tenant identifier column if none is specified in the mapping.- 指定者:
getImplicitTenantIdColumnName在接口中MappingDefaults- 返回:
- The implicit tenant identifier column name
-
getImplicitDiscriminatorColumnName
public String getImplicitDiscriminatorColumnName()
从接口复制的说明:MappingDefaultsIdentifies the column name to use for the discriminator column if none specified in the mapping.- 指定者:
getImplicitDiscriminatorColumnName在接口中MappingDefaults- 返回:
- The implicit discriminator column name
-
getImplicitPackageName
public String getImplicitPackageName()
从接口复制的说明:MappingDefaultsIdentifies the package name to use if none specified in the mapping. Really only pertinent forhbm.xmlmappings.- 指定者:
getImplicitPackageName在接口中MappingDefaults- 返回:
- The implicit package name.
-
isAutoImportEnabled
public boolean isAutoImportEnabled()
从接口复制的说明:MappingDefaultsIs auto-importing of entity (short) names enabled?- 指定者:
isAutoImportEnabled在接口中MappingDefaults- 返回:
trueif auto-importing is enabled;falseotherwise.
-
getImplicitCascadeStyleName
public String getImplicitCascadeStyleName()
从接口复制的说明:MappingDefaultsIdentifies the cascade style to apply to associations if none specified in the mapping.- 指定者:
getImplicitCascadeStyleName在接口中MappingDefaults- 返回:
- The implicit cascade style
-
getImplicitPropertyAccessorName
public String getImplicitPropertyAccessorName()
从接口复制的说明:MappingDefaultsIdentifies the defaultPropertyAccessStrategyname to use if none specified in the mapping.- 指定者:
getImplicitPropertyAccessorName在接口中MappingDefaults- 返回:
- The implicit property accessor name
- 另请参阅:
PropertyAccessStrategy
-
areEntitiesImplicitlyLazy
public boolean areEntitiesImplicitlyLazy()
从接口复制的说明:MappingDefaultsIdentifies whether singular associations (many-to-one, one-to-one) are lazy by default if not specified in the mapping.- 指定者:
areEntitiesImplicitlyLazy在接口中MappingDefaults- 返回:
- The implicit association laziness
-
areCollectionsImplicitlyLazy
public boolean areCollectionsImplicitlyLazy()
从接口复制的说明:MappingDefaultsIdentifies whether plural attributes are lazy by default if not specified in the mapping.- 指定者:
areCollectionsImplicitlyLazy在接口中MappingDefaults- 返回:
- The implicit association laziness
-
getImplicitCacheAccessType
public AccessType getImplicitCacheAccessType()
从接口复制的说明:MappingDefaultsThe cache access type to use if none is specified- 指定者:
getImplicitCacheAccessType在接口中MappingDefaults- 返回:
- The implicit cache access type.
-
-