public class ImplicitNamingStrategyLegacyHbmImpl extends ImplicitNamingStrategyJpaCompliantImpl
Modifier and Type | Field and Description |
---|---|
static ImplicitNamingStrategyLegacyHbmImpl |
INSTANCE
Singleton access
|
Constructor and Description |
---|
ImplicitNamingStrategyLegacyHbmImpl() |
Modifier and Type | Method and Description |
---|---|
Identifier |
determineBasicColumnName(ImplicitBasicColumnNameSource source)
Determine the name of an attribute's column given the source naming
information, when a name is not explicitly given.
|
Identifier |
determineJoinColumnName(ImplicitJoinColumnNameSource source)
Determine the column name related to
JoinColumn . |
Identifier |
determineJoinTableName(ImplicitJoinTableNameSource source)
Determine the name of an association join table given the source naming
information, when a name is not explicitly given.
|
protected String |
transformEntityName(EntityNaming entityNaming) |
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformAttributePath
public static final ImplicitNamingStrategyLegacyHbmImpl INSTANCE
protected String transformEntityName(EntityNaming entityNaming)
transformEntityName
in class ImplicitNamingStrategyJpaCompliantImpl
public Identifier determineBasicColumnName(ImplicitBasicColumnNameSource source)
ImplicitNamingStrategy
determineBasicColumnName
in interface ImplicitNamingStrategy
determineBasicColumnName
in class ImplicitNamingStrategyJpaCompliantImpl
source
- The source informationpublic Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source)
ImplicitNamingStrategy
JoinColumn
. In
hbm.xml
terms, this would be a <key/>
defined for a collection
or the column associated with a many-to-one.determineJoinColumnName
in interface ImplicitNamingStrategy
determineJoinColumnName
in class ImplicitNamingStrategyJpaCompliantImpl
source
- The source informationpublic Identifier determineJoinTableName(ImplicitJoinTableNameSource source)
ImplicitNamingStrategy
determineJoinTableName
in interface ImplicitNamingStrategy
determineJoinTableName
in class ImplicitNamingStrategyJpaCompliantImpl
source
- The source informationCopyright © 2019 JBoss by Red Hat. All rights reserved.