Package org.hibernate.boot.internal
Class MetadataBuilderImpl.MappingDefaultsImpl
java.lang.Object
org.hibernate.boot.internal.MetadataBuilderImpl.MappingDefaultsImpl
- All Implemented Interfaces:
MappingDefaults
- Enclosing class:
MetadataBuilderImpl
public static class MetadataBuilderImpl.MappingDefaultsImpl
extends Object
implements MappingDefaults
-
Field Summary
Fields inherited from interface 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIdentifies whether plural attributes are lazy by default if not specified in the mapping.booleanIdentifies whether singular associations (many-to-one, one-to-one) are lazy by default if not specified in the mapping.The cache access type to use if none is specifiedIdentifies the cascade style to apply to associations if none specified in the mapping.Identifies the database catalog name to use if none specified in the mapping.Identifies the column name to use for the discriminator column if none specified in the mapping.Identifies the column name to use for the identifier column if none specified in the mapping.Collection semantics to be applied toListattributes with no explicit configurationIdentifies the package name to use if none specified in the mapping.The defaultPropertyAccessStrategyto use if none specified in the mapping.Identifies the database schema name to use if none specified in the mapping.Identifies the column name to use for the tenant identifier column if none is specified in the mapping.booleanIs auto-importing of entity (short) names enabled?booleanShould all database identifiers encountered in this context be implicitly quoted?trueindicates that all identifier encountered within this context should be quoted.
-
Constructor Details
-
MappingDefaultsImpl
-
-
Method Details
-
getImplicitSchemaName
Description copied from interface:MappingDefaultsIdentifies the database schema name to use if none specified in the mapping.- Specified by:
getImplicitSchemaNamein interfaceMappingDefaults- Returns:
- The implicit schema name; may be
null - See Also:
-
getImplicitCatalogName
Description copied from interface:MappingDefaultsIdentifies the database catalog name to use if none specified in the mapping.- Specified by:
getImplicitCatalogNamein interfaceMappingDefaults- Returns:
- The implicit catalog name; may be
null - See Also:
-
shouldImplicitlyQuoteIdentifiers
public boolean shouldImplicitlyQuoteIdentifiers()Description copied from interface: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 only quoted if explicitly quoted.- Specified by:
shouldImplicitlyQuoteIdentifiersin interfaceMappingDefaults- Returns:
true/false
-
getImplicitIdColumnName
Description copied from interface:MappingDefaultsIdentifies the column name to use for the identifier column if none specified in the mapping.- Specified by:
getImplicitIdColumnNamein interfaceMappingDefaults- Returns:
- The implicit identifier column name
-
getImplicitTenantIdColumnName
Description copied from interface:MappingDefaultsIdentifies the column name to use for the tenant identifier column if none is specified in the mapping.- Specified by:
getImplicitTenantIdColumnNamein interfaceMappingDefaults- Returns:
- The implicit tenant identifier column name
-
getImplicitDiscriminatorColumnName
Description copied from interface:MappingDefaultsIdentifies the column name to use for the discriminator column if none specified in the mapping.- Specified by:
getImplicitDiscriminatorColumnNamein interfaceMappingDefaults- Returns:
- The implicit discriminator column name
-
getImplicitPackageName
Description copied from interface:MappingDefaultsIdentifies the package name to use if none specified in the mapping. Really only pertinent forhbm.xmlmappings.- Specified by:
getImplicitPackageNamein interfaceMappingDefaults- Returns:
- The implicit package name.
-
isAutoImportEnabled
public boolean isAutoImportEnabled()Description copied from interface:MappingDefaultsIs auto-importing of entity (short) names enabled?- Specified by:
isAutoImportEnabledin interfaceMappingDefaults- Returns:
trueif auto-importing is enabled;falseotherwise.
-
getImplicitCascadeStyleName
Description copied from interface:MappingDefaultsIdentifies the cascade style to apply to associations if none specified in the mapping.- Specified by:
getImplicitCascadeStyleNamein interfaceMappingDefaults- Returns:
- The implicit cascade style
-
getImplicitPropertyAccessorName
Description copied from interface:MappingDefaultsThe defaultPropertyAccessStrategyto use if none specified in the mapping.- Specified by:
getImplicitPropertyAccessorNamein interfaceMappingDefaults- See Also:
-
areEntitiesImplicitlyLazy
public boolean areEntitiesImplicitlyLazy()Description copied from interface:MappingDefaultsIdentifies whether singular associations (many-to-one, one-to-one) are lazy by default if not specified in the mapping.- Specified by:
areEntitiesImplicitlyLazyin interfaceMappingDefaults- Returns:
- The implicit association laziness
-
areCollectionsImplicitlyLazy
public boolean areCollectionsImplicitlyLazy()Description copied from interface:MappingDefaultsIdentifies whether plural attributes are lazy by default if not specified in the mapping.- Specified by:
areCollectionsImplicitlyLazyin interfaceMappingDefaults- Returns:
- The implicit association laziness
-
getImplicitCacheAccessType
Description copied from interface:MappingDefaultsThe cache access type to use if none is specified- Specified by:
getImplicitCacheAccessTypein interfaceMappingDefaults- See Also:
-
getImplicitListClassification
Description copied from interface:MappingDefaultsCollection semantics to be applied toListattributes with no explicit configuration- Specified by:
getImplicitListClassificationin interfaceMappingDefaults- See Also:
-