Package org.hibernate.boot.model.naming
Class ImplicitNamingStrategyLegacyHbmImpl
- java.lang.Object
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
-
- All Implemented Interfaces:
java.io.Serializable,ImplicitNamingStrategy
public class ImplicitNamingStrategyLegacyHbmImpl extends ImplicitNamingStrategyJpaCompliantImpl
Implements the original legacy naming behavior.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ImplicitNamingStrategyLegacyHbmImplINSTANCESingleton access
-
Constructor Summary
Constructors Constructor Description ImplicitNamingStrategyLegacyHbmImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentifierdetermineBasicColumnName(ImplicitBasicColumnNameSource source)Determine the name of an attribute's column given the source naming information, when a name is not explicitly given.IdentifierdetermineJoinColumnName(ImplicitJoinColumnNameSource source)Determine the column name related toJoinColumn.IdentifierdetermineJoinTableName(ImplicitJoinTableNameSource source)Determine the name of an association join table given the source naming information, when a name is not explicitly given.protected java.lang.StringtransformEntityName(EntityNaming entityNaming)-
Methods inherited from class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformAttributePath
-
-
-
-
Field Detail
-
INSTANCE
public static final ImplicitNamingStrategyLegacyHbmImpl INSTANCE
Singleton access
-
-
Method Detail
-
transformEntityName
protected java.lang.String transformEntityName(EntityNaming entityNaming)
- Overrides:
transformEntityNamein classImplicitNamingStrategyJpaCompliantImpl
-
determineBasicColumnName
public Identifier determineBasicColumnName(ImplicitBasicColumnNameSource source)
Description copied from interface:ImplicitNamingStrategyDetermine the name of an attribute's column given the source naming information, when a name is not explicitly given.- Specified by:
determineBasicColumnNamein interfaceImplicitNamingStrategy- Overrides:
determineBasicColumnNamein classImplicitNamingStrategyJpaCompliantImpl- Parameters:
source- The source information- Returns:
- The implicit column name.
-
determineJoinColumnName
public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source)
Description copied from interface:ImplicitNamingStrategyDetermine the column name related toJoinColumn. Inhbm.xmlterms, this would be a<key/>defined for a collection or the column associated with a many-to-one.- Specified by:
determineJoinColumnNamein interfaceImplicitNamingStrategy- Overrides:
determineJoinColumnNamein classImplicitNamingStrategyJpaCompliantImpl- Parameters:
source- The source information- Returns:
- The determined join column name
-
determineJoinTableName
public Identifier determineJoinTableName(ImplicitJoinTableNameSource source)
Description copied from interface:ImplicitNamingStrategyDetermine the name of an association join table given the source naming information, when a name is not explicitly given.- Specified by:
determineJoinTableNamein interfaceImplicitNamingStrategy- Overrides:
determineJoinTableNamein classImplicitNamingStrategyJpaCompliantImpl- Parameters:
source- The source information- Returns:
- The implicit table name.
-
-