public class 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| 构造器和说明 |
|---|
MappingDefaultsImpl(StandardServiceRegistry serviceRegistry) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
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
org.hibernate.property.access.spi.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?
|
public MappingDefaultsImpl(StandardServiceRegistry serviceRegistry)
public String getImplicitSchemaName()
MappingDefaultsgetImplicitSchemaName 在接口中 MappingDefaultsnullpublic String getImplicitCatalogName()
MappingDefaultsgetImplicitCatalogName 在接口中 MappingDefaultsnullpublic boolean shouldImplicitlyQuoteIdentifiers()
MappingDefaults
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.
shouldImplicitlyQuoteIdentifiers 在接口中 MappingDefaultstrue/falsepublic String getImplicitIdColumnName()
MappingDefaultsgetImplicitIdColumnName 在接口中 MappingDefaultspublic String getImplicitTenantIdColumnName()
MappingDefaultsgetImplicitTenantIdColumnName 在接口中 MappingDefaultspublic String getImplicitDiscriminatorColumnName()
MappingDefaultsgetImplicitDiscriminatorColumnName 在接口中 MappingDefaultspublic String getImplicitPackageName()
MappingDefaultshbm.xml mappings.getImplicitPackageName 在接口中 MappingDefaultspublic boolean isAutoImportEnabled()
MappingDefaultsisAutoImportEnabled 在接口中 MappingDefaultstrue if auto-importing is enabled; false otherwise.public String getImplicitCascadeStyleName()
MappingDefaultsgetImplicitCascadeStyleName 在接口中 MappingDefaultspublic String getImplicitPropertyAccessorName()
MappingDefaultsorg.hibernate.property.access.spi.PropertyAccessStrategy name to use if none specified in the
mapping.getImplicitPropertyAccessorName 在接口中 MappingDefaultsorg.hibernate.property.access.spi.PropertyAccessStrategypublic boolean areEntitiesImplicitlyLazy()
MappingDefaultsareEntitiesImplicitlyLazy 在接口中 MappingDefaultspublic boolean areCollectionsImplicitlyLazy()
MappingDefaultsareCollectionsImplicitlyLazy 在接口中 MappingDefaultsCopyright © 2019. All rights reserved.