public class ImplicitNamingStrategyLegacyJpaImpl extends ImplicitNamingStrategyJpaCompliantImpl
ImplicitNamingStrategyJpaCompliantImpl
Corresponds roughly to the legacy org.hibernate.cfg.EJB3NamingStrategy class.Modifier and Type | Field and Description |
---|---|
static ImplicitNamingStrategyLegacyJpaImpl |
INSTANCE
Singleton access
|
Constructor and Description |
---|
ImplicitNamingStrategyLegacyJpaImpl() |
Modifier and Type | Method and Description |
---|---|
Identifier |
determineCollectionTableName(ImplicitCollectionTableNameSource source)
Determine the name of a collection join table 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.
|
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformAttributePath, transformEntityName
public static final ImplicitNamingStrategyLegacyJpaImpl INSTANCE
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source)
ImplicitNamingStrategy
determineCollectionTableName
in interface ImplicitNamingStrategy
determineCollectionTableName
in class ImplicitNamingStrategyJpaCompliantImpl
source
- The source informationpublic Identifier determineJoinTableName(ImplicitJoinTableNameSource source)
ImplicitNamingStrategy
determineJoinTableName
in interface ImplicitNamingStrategy
determineJoinTableName
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 informationCopyright © 2019 JBoss by Red Hat. All rights reserved.