Package org.hibernate.boot.model.naming
Class ImplicitNamingStrategyComponentPathImpl
- java.lang.Object
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
-
- org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl
-
- All Implemented Interfaces:
java.io.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- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ImplicitNamingStrategyComponentPathImplINSTANCE
-
Constructor Summary
Constructors Constructor Description ImplicitNamingStrategyComponentPathImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidprocess(AttributePath attributePath, java.lang.StringBuilder sb)protected java.lang.StringtransformAttributePath(AttributePath attributePath)For JPA standards we typically need the unqualified name.-
Methods inherited from class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineJoinColumnName, determineJoinTableName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformEntityName
-
-
-
-
Field Detail
-
INSTANCE
public static final ImplicitNamingStrategyComponentPathImpl INSTANCE
-
-
Method Detail
-
transformAttributePath
protected java.lang.String transformAttributePath(AttributePath attributePath)
Description copied from class:ImplicitNamingStrategyJpaCompliantImplFor 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- Overrides:
transformAttributePathin classImplicitNamingStrategyJpaCompliantImpl- Parameters:
attributePath- The attribute path- Returns:
- The extracted name
-
process
public static void process(AttributePath attributePath, java.lang.StringBuilder sb)
-
-