public interface MappingDefaults
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CASCADE_NAME |
static String |
DEFAULT_DISCRIMINATOR_COLUMN_NAME |
static String |
DEFAULT_IDENTIFIER_COLUMN_NAME |
static String |
DEFAULT_PROPERTY_ACCESS_NAME |
static String |
DEFAULT_TENANT_IDENTIFIER_COLUMN_NAME |
| 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. |
static final String DEFAULT_IDENTIFIER_COLUMN_NAME
static final String DEFAULT_TENANT_IDENTIFIER_COLUMN_NAME
static final String DEFAULT_DISCRIMINATOR_COLUMN_NAME
static final String DEFAULT_CASCADE_NAME
static final String DEFAULT_PROPERTY_ACCESS_NAME
String getImplicitSchemaName()
nullString getImplicitCatalogName()
nullboolean shouldImplicitlyQuoteIdentifiers()
true 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.true/falseString getImplicitIdColumnName()
String getImplicitTenantIdColumnName()
String getImplicitDiscriminatorColumnName()
String getImplicitPackageName()
hbm.xml mappings.boolean isAutoImportEnabled()
true if auto-importing is enabled; false otherwise.String getImplicitCascadeStyleName()
String getImplicitPropertyAccessorName()
PropertyAccessStrategy name to use if none specified in the
mapping.PropertyAccessStrategyboolean areEntitiesImplicitlyLazy()
boolean areCollectionsImplicitlyLazy()
AccessType getImplicitCacheAccessType()
Copyright © 2019 JBoss by Red Hat. All rights reserved.