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
| Modifier and Type | Field and Description |
|---|---|
static ImplicitNamingStrategyComponentPathImpl |
INSTANCE |
| Constructor and Description |
|---|
ImplicitNamingStrategyComponentPathImpl() |
| Modifier and Type | Method and Description |
|---|---|
static void |
process(AttributePath attributePath,
StringBuilder sb) |
protected String |
transformAttributePath(AttributePath attributePath)
For JPA standards we typically need the unqualified name.
|
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineBasicColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineForeignKeyName, determineIdentifierColumnName, determineIndexName, determineJoinColumnName, determineJoinTableName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, determineUniqueKeyName, toIdentifier, transformEntityNamepublic static final ImplicitNamingStrategyComponentPathImpl INSTANCE
public ImplicitNamingStrategyComponentPathImpl()
protected String transformAttributePath(AttributePath attributePath)
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
transformAttributePath in class ImplicitNamingStrategyJpaCompliantImplattributePath - The attribute pathpublic static void process(AttributePath attributePath, StringBuilder sb)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.