Class ImplicitNamingStrategyComponentPathImpl
java.lang.Object
org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
org.hibernate.boot.model.naming.ImplicitNamingStrategyComponentPathImpl
- All Implemented Interfaces:
Serializable, ImplicitNamingStrategy
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:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprocess(AttributePath attributePath, StringBuilder sb) protected StringtransformAttributePath(AttributePath attributePath) For JPA standards we typically need the unqualified name.Methods inherited from class ImplicitNamingStrategyJpaCompliantImpl
constraintNamePrefix, determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineJoinColumnName, determineJoinTableName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, generateConstraintName, generateConstraintNameString, namingHelper, toIdentifier, toIdentifier, transformEntityName
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImplicitNamingStrategyComponentPathImpl
public ImplicitNamingStrategyComponentPathImpl()
-
-
Method Details
-
transformAttributePath
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
-