类 ImplicitNamingStrategyComponentPathImpl
- java.lang.Object
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl
-
- 所有已实现的接口:
Serializable,ImplicitNamingStrategy
public class ImplicitNamingStrategyComponentPathImpl extends ImplicitNamingStrategyJpaCompliantImpl
An ImplicitNamingStrategy implementation which uses full composite paths extracted from AttributePath, as opposed to just the terminal property part. Mainly a port of the older DefaultComponentSafeNamingStrategy class implementing the no longer supported NamingStrategy contract- 作者:
- Steve Ebersole, Emmanuel Bernard
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static ImplicitNamingStrategyComponentPathImplINSTANCE
-
构造器概要
构造器 构造器 说明 ImplicitNamingStrategyComponentPathImpl()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static voidprocess(AttributePath attributePath, StringBuilder sb)protected StringtransformAttributePath(AttributePath attributePath)For JPA standards we typically need the unqualified name.-
从类继承的方法 org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineJoinColumnName, determineJoinTableName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformEntityName
-
-
-
-
字段详细资料
-
INSTANCE
public static final ImplicitNamingStrategyComponentPathImpl INSTANCE
-
-
方法详细资料
-
transformAttributePath
protected String transformAttributePath(AttributePath attributePath)
For JPA standards we typically need the unqualified name. However, a more usable impl tends to use the whole path. This method provides an easy hook for subclasses to accomplish that- 覆盖:
transformAttributePath在类中ImplicitNamingStrategyJpaCompliantImpl- 参数:
attributePath- The attribute path- 返回:
- The extracted name
-
process
public static void process(AttributePath attributePath, StringBuilder sb)
-
-