public interface MappingDefaults
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_CASCADE_NAME |
static java.lang.String |
DEFAULT_DISCRIMINATOR_COLUMN_NAME |
static java.lang.String |
DEFAULT_IDENTIFIER_COLUMN_NAME |
static java.lang.String |
DEFAULT_PROPERTY_ACCESS_NAME |
static java.lang.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
|
java.lang.String |
getImplicitCascadeStyleName()
Identifies the cascade style to apply to associations if none specified in the mapping.
|
java.lang.String |
getImplicitCatalogName()
Identifies the database catalog name to use if none specified in the mapping.
|
java.lang.String |
getImplicitDiscriminatorColumnName()
Identifies the column name to use for the discriminator column if none specified
in the mapping.
|
java.lang.String |
getImplicitIdColumnName()
Identifies the column name to use for the identifier column if none specified in
the mapping.
|
java.lang.String |
getImplicitPackageName()
Identifies the package name to use if none specified in the mapping.
|
java.lang.String |
getImplicitPropertyAccessorName()
Identifies the default
PropertyAccessStrategy name to use if none specified in the
mapping. |
java.lang.String |
getImplicitSchemaName()
Identifies the database schema name to use if none specified in the mapping.
|
java.lang.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 java.lang.String DEFAULT_IDENTIFIER_COLUMN_NAME
static final java.lang.String DEFAULT_TENANT_IDENTIFIER_COLUMN_NAME
static final java.lang.String DEFAULT_DISCRIMINATOR_COLUMN_NAME
static final java.lang.String DEFAULT_CASCADE_NAME
static final java.lang.String DEFAULT_PROPERTY_ACCESS_NAME
java.lang.String getImplicitSchemaName()
nulljava.lang.String 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/falsejava.lang.String getImplicitIdColumnName()
java.lang.String getImplicitTenantIdColumnName()
java.lang.String getImplicitDiscriminatorColumnName()
java.lang.String getImplicitPackageName()
hbm.xml mappings.boolean isAutoImportEnabled()
true if auto-importing is enabled; false otherwise.java.lang.String getImplicitCascadeStyleName()
java.lang.String getImplicitPropertyAccessorName()
PropertyAccessStrategy name to use if none specified in the
mapping.PropertyAccessStrategyboolean areEntitiesImplicitlyLazy()
boolean areCollectionsImplicitlyLazy()
AccessType getImplicitCacheAccessType()
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.