Top Description Fields Constructors Methods
org.hibernate.boot.model.naming

public Class ImplicitNamingStrategyLegacyHbmImpl

extends ImplicitNamingStrategyJpaCompliantImpl
Class Inheritance
Imports
org.hibernate.internal.util.StringHelper

Implements the original legacy naming behavior.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final ImplicitNamingStrategyLegacyHbmImpl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Identifier
determineBasicColumnName(ImplicitBasicColumnNameSource
The source information
source
)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.determineBasicColumnName.

Implements org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineBasicColumnName.

Determine the name of an attribute's column given the source naming information, when a name is not explicitly given.
public Identifier
public Identifier
determineJoinTableName(ImplicitJoinTableNameSource
The source information
source
)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.determineJoinTableName.

Implements org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineJoinTableName.

Determine the name of an association join table given the source naming information, when a name is not explicitly given.
protected String
Inherited from org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl:
determineAnyDiscriminatorColumnNamedetermineAnyKeyColumnNamedetermineCollectionTableNamedetermineDiscriminatorColumnNamedetermineForeignKeyNamedetermineIdentifierColumnNamedetermineIndexNamedetermineListIndexColumnNamedetermineMapKeyColumnNamedeterminePrimaryKeyJoinColumnNamedeterminePrimaryTableNamedetermineTenantIdColumnNamedetermineUniqueKeyNametoIdentifiertransformAttributePath

Field Detail

INSTANCEback to summary
public static final ImplicitNamingStrategyLegacyHbmImpl INSTANCE

Hides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.INSTANCE.

Singleton access

Constructor Detail

ImplicitNamingStrategyLegacyHbmImplback to summary
public ImplicitNamingStrategyLegacyHbmImpl()

Method Detail

determineBasicColumnNameback to summary
public Identifier determineBasicColumnName(ImplicitBasicColumnNameSource source)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.determineBasicColumnName.

Implements org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineBasicColumnName.

Doc from org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineBasicColumnName.

Determine the name of an attribute's column given the source naming information, when a name is not explicitly given.

Parameters
source:ImplicitBasicColumnNameSource

The source information

Returns:Identifier

The implicit column name.

Annotations
@Override
determineJoinColumnNameback to summary
public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.determineJoinColumnName.

Implements org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineJoinColumnName.

Doc from org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineJoinColumnName.

Determine the column name related to javax.persistence.JoinColumn. In hbm.xml terms, this would be a <key/> defined for a collection or the column associated with a many-to-one.

Parameters
source:ImplicitJoinColumnNameSource

The source information

Returns:Identifier

The determined join column name

Annotations
@Override
determineJoinTableNameback to summary
public Identifier determineJoinTableName(ImplicitJoinTableNameSource source)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.determineJoinTableName.

Implements org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineJoinTableName.

Doc from org.hibernate.boot.model.naming.ImplicitNamingStrategy.determineJoinTableName.

Determine the name of an association join table given the source naming information, when a name is not explicitly given.

Parameters
source:ImplicitJoinTableNameSource

The source information

Returns:Identifier

The implicit table name.

Annotations
@Override
transformEntityNameback to summary
protected String transformEntityName(EntityNaming entityNaming)

Overrides org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl.transformEntityName.

Annotations
@Override