public static class MetadataBuilderImpl.MappingDefaultsImpl extends Object implements MappingDefaults
DEFAULT_CASCADE_NAME, DEFAULT_DISCRIMINATOR_COLUMN_NAME, DEFAULT_IDENTIFIER_COLUMN_NAME, DEFAULT_PROPERTY_ACCESS_NAME, DEFAULT_TENANT_IDENTIFIER_COLUMN_NAME| Constructor and Description |
|---|
MappingDefaultsImpl(StandardServiceRegistry serviceRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
areCollectionsImplicitlyLazy()
Identifies whether plural attributes are lazy by default if not specified in the mapping.
|
boolean |
areEntitiesImplicitlyLazy()
Identifies whether singular associations (many-to-one, one-to-one) are lazy
by default if not specified in the mapping.
|
AccessType |
getImplicitCacheAccessType()
The cache access type to use if none is specified
|
String |
getImplicitCascadeStyleName()
Identifies the cascade style to apply to associations if none specified in the mapping.
|
String |
getImplicitCatalogName()
Identifies the database catalog name to use if none specified in the mapping.
|
String |
getImplicitDiscriminatorColumnName()
Identifies the column name to use for the discriminator column if none specified
in the mapping.
|
String |
getImplicitIdColumnName()
Identifies the column name to use for the identifier column if none specified in
the mapping.
|
String |
getImplicitPackageName()
Identifies the package name to use if none specified in the mapping.
|
String |
getImplicitPropertyAccessorName()
Identifies the default
PropertyAccessStrategy name to use if none specified in the
mapping. |
String |
getImplicitSchemaName()
Identifies the database schema name to use if none specified in the mapping.
|
String |
getImplicitTenantIdColumnName()
Identifies the column name to use for the tenant identifier column if none is
specified in the mapping.
|
boolean |
isAutoImportEnabled()
Is auto-importing of entity (short) names enabled?
|
boolean |
shouldImplicitlyQuoteIdentifiers()
Should all database identifiers encountered in this context be implicitly quoted?
true indicates that all identifier encountered within this context should be
quoted. |
public MappingDefaultsImpl(StandardServiceRegistry serviceRegistry)
public String getImplicitSchemaName()
MappingDefaultsgetImplicitSchemaName in interface MappingDefaultsnullpublic String getImplicitCatalogName()
MappingDefaultsgetImplicitCatalogName in interface MappingDefaultsnullpublic boolean shouldImplicitlyQuoteIdentifiers()
MappingDefaultstrue indicates that all identifier encountered within this context should be
quoted. false indicates indicates that identifiers within this context are
onl;y quoted if explicitly quoted.shouldImplicitlyQuoteIdentifiers in interface MappingDefaultstrue/falsepublic String getImplicitIdColumnName()
MappingDefaultsgetImplicitIdColumnName in interface MappingDefaultspublic String getImplicitTenantIdColumnName()
MappingDefaultsgetImplicitTenantIdColumnName in interface MappingDefaultspublic String getImplicitDiscriminatorColumnName()
MappingDefaultsgetImplicitDiscriminatorColumnName in interface MappingDefaultspublic String getImplicitPackageName()
MappingDefaultshbm.xml mappings.getImplicitPackageName in interface MappingDefaultspublic boolean isAutoImportEnabled()
MappingDefaultsisAutoImportEnabled in interface MappingDefaultstrue if auto-importing is enabled; false otherwise.public String getImplicitCascadeStyleName()
MappingDefaultsgetImplicitCascadeStyleName in interface MappingDefaultspublic String getImplicitPropertyAccessorName()
MappingDefaultsPropertyAccessStrategy name to use if none specified in the
mapping.getImplicitPropertyAccessorName in interface MappingDefaultsPropertyAccessStrategypublic boolean areEntitiesImplicitlyLazy()
MappingDefaultsareEntitiesImplicitlyLazy in interface MappingDefaultspublic boolean areCollectionsImplicitlyLazy()
MappingDefaultsareCollectionsImplicitlyLazy in interface MappingDefaultspublic AccessType getImplicitCacheAccessType()
MappingDefaultsgetImplicitCacheAccessType in interface MappingDefaultsCopyright © 2017 JBoss by Red Hat. All rights reserved.