类 ImplicitNamingStrategyLegacyJpaImpl
- java.lang.Object
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyJpaImpl
-
- 所有已实现的接口:
Serializable,ImplicitNamingStrategy
public class ImplicitNamingStrategyLegacyJpaImpl extends ImplicitNamingStrategyJpaCompliantImpl
Implementation of the ImplicitNamingStrategy contract which conforms to the naming rules initially implemented by Hibernate for JPA 1.0, prior to many things being clarified. For a more JPA 2 compliant strategy, see/useImplicitNamingStrategyJpaCompliantImplCorresponds roughly to the legacy org.hibernate.cfg.EJB3NamingStrategy class.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static ImplicitNamingStrategyLegacyJpaImplINSTANCESingleton access
-
构造器概要
构造器 构造器 说明 ImplicitNamingStrategyLegacyJpaImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 IdentifierdetermineCollectionTableName(ImplicitCollectionTableNameSource source)Determine the name of a collection join table 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.-
从类继承的方法 org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformAttributePath, transformEntityName
-
-
-
-
字段详细资料
-
INSTANCE
public static final ImplicitNamingStrategyLegacyJpaImpl INSTANCE
Singleton access
-
-
方法详细资料
-
determineCollectionTableName
public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source)
从接口复制的说明:ImplicitNamingStrategyDetermine the name of a collection join table given the source naming information, when a name is not explicitly given.- 指定者:
determineCollectionTableName在接口中ImplicitNamingStrategy- 覆盖:
determineCollectionTableName在类中ImplicitNamingStrategyJpaCompliantImpl- 参数:
source- The source information- 返回:
- The implicit table name.
-
determineJoinTableName
public Identifier determineJoinTableName(ImplicitJoinTableNameSource source)
从接口复制的说明:ImplicitNamingStrategyDetermine the name of an association join table given the source naming information, when a name is not explicitly given.- 指定者:
determineJoinTableName在接口中ImplicitNamingStrategy- 覆盖:
determineJoinTableName在类中ImplicitNamingStrategyJpaCompliantImpl- 参数:
source- The source information- 返回:
- The implicit table name.
-
determineJoinColumnName
public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source)
从接口复制的说明: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.- 指定者:
determineJoinColumnName在接口中ImplicitNamingStrategy- 覆盖:
determineJoinColumnName在类中ImplicitNamingStrategyJpaCompliantImpl- 参数:
source- The source information- 返回:
- The determined join column name
-
-