ImplicitNamingStrategy contract, generally
preferring to conform to JPA standards.
For the legacy JPA-based naming standards initially implemented by Hibernate,
see/use ImplicitNamingStrategyLegacyJpaImpl
| Modifier and Type | Field and Description |
|---|---|
| public static final ImplicitNamingStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| INSTANCE | back to summary |
|---|---|
| public static final ImplicitNamingStrategy INSTANCE | |
| ImplicitNamingStrategyJpaCompliantImpl | back to summary |
|---|---|
| public ImplicitNamingStrategyJpaCompliantImpl() | |
| determineAnyDiscriminatorColumnName | back to summary |
|---|---|
| public Identifier determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source) Implements org. Doc from org. Determine the column name related to the discriminator portion of an
| |
| determineAnyKeyColumnName | back to summary |
|---|---|
| public Identifier determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source) Implements org. Doc from org. Determine the join column name related to the key/id portion of an
| |
| determineBasicColumnName | back to summary |
|---|---|
| public Identifier determineBasicColumnName(ImplicitBasicColumnNameSource source) Implements org. Doc from org. Determine the column name when it is not explicitly specified using
| |
| determineCollectionTableName | back to summary |
|---|---|
| public Identifier determineCollectionTableName(ImplicitCollectionTableNameSource source) Implements org. Doc from org. Determine the name of a collection join table given the source naming information, when a name is not explicitly given. This method is called only for collections of basic or embeddable values, and never for associations.
| |
| determineDiscriminatorColumnName | back to summary |
|---|---|
| public Identifier determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source) Implements org. Doc from org. Determine the discriminator
column name for the given entity when it is not explicitly specified using
| |
| determineForeignKeyName | back to summary |
|---|---|
| public Identifier determineForeignKeyName(ImplicitForeignKeyNameSource source) Implements org. Doc from org. Determine the foreign key name when it is not explicitly specified using
| |
| determineIdentifierColumnName | back to summary |
|---|---|
| public Identifier determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source) Implements org. Doc from org. Determine the name if the identifier column
belonging to the given entity when it is not explicitly specified using
| |
| determineIndexName | back to summary |
|---|---|
| public Identifier determineIndexName(ImplicitIndexNameSource source) Implements org. Doc from org. Determine the index name when it is not explicitly specified using
| |
| determineJoinColumnName | back to summary |
|---|---|
| public Identifier determineJoinColumnName(ImplicitJoinColumnNameSource source) Implements org. Doc from org. Determine the join column name when it is not explicitly specified using
In
| |
| determineJoinTableName | back to summary |
|---|---|
| public Identifier determineJoinTableName(ImplicitJoinTableNameSource source) Implements org. Doc from org. Determine the name of an association join table given the source naming information, when a name is not explicitly given. This method is called for any sort of association with a join table, no matter what the logical cardinality.
| |
| determineListIndexColumnName | back to summary |
|---|---|
| public Identifier determineListIndexColumnName(ImplicitIndexColumnNameSource source) Implements org. Doc from org. Determine the list index column name when it is not explicitly specified using
| |
| determineMapKeyColumnName | back to summary |
|---|---|
| public Identifier determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source) Implements org. Doc from org. Determine the map key column name when it is not explicitly specified using
| |
| determinePrimaryKeyJoinColumnName | back to summary |
|---|---|
| public Identifier determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source) Implements org. Doc from org. Determine the primary key join column name when it is not explicitly specified
using
In
| |
| determinePrimaryTableName | back to summary |
|---|---|
| public Identifier determinePrimaryTableName(ImplicitEntityNameSource source) Implements org. Doc from org. Determine the implicit name of an entity's primary table.
| |
| determineTenantIdColumnName | back to summary |
|---|---|
| public Identifier determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source) Implements org. Doc from org. Determine the implicit name of the tenant identifier column belonging to a given entity when it is not explicitly
specified using
| |
| determineUniqueKeyName | back to summary |
|---|---|
| public Identifier determineUniqueKeyName(ImplicitUniqueKeyNameSource source) Implements org. Doc from org. Determine the unique key name when it is not explicitly specified using
| |
| toIdentifier | back to summary |
|---|---|
| protected Identifier toIdentifier(String stringForm, MetadataBuildingContext buildingContext) Easy hook to build an Identifier using the keyword safe IdentifierHelper.
| |
| transformAttributePath | back to summary |
|---|---|
| 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
| |
| transformEntityName | back to summary |
|---|---|
| protected String transformEntityName(EntityNaming entityNaming) | |