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:
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 void
process
(AttributePath attributePath, StringBuilder sb) protected String
transformAttributePath
(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 Details
-
INSTANCE
-
-
Constructor Details
-
ImplicitNamingStrategyComponentPathImpl
public ImplicitNamingStrategyComponentPathImpl()
-
-
Method Details
-
transformAttributePath
Description copied from class:ImplicitNamingStrategyJpaCompliantImpl
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- Overrides:
transformAttributePath
in classImplicitNamingStrategyJpaCompliantImpl
- Parameters:
attributePath
- The attribute path- Returns:
- The extracted name
-
process
-