public interface ImplicitNamingStrategy
determinePrimaryTableName(org.hibernate.boot.model.naming.ImplicitEntityNameSource)
. Used when the
primary table for an entity is not explicitly named in the metadata. See
Table
for details.
determineJoinTableName(org.hibernate.boot.model.naming.ImplicitJoinTableNameSource)
. See JoinTable
for details. Join table covers basically any entity association whether in the form
of a collection of entities (one-to-many, many-to-many) or a singular entity association
(many-to-one, and occasionally one-to-one).
determineCollectionTableName(org.hibernate.boot.model.naming.ImplicitCollectionTableNameSource)
- Collection table
refers to any non-entity collection (basic, component/embeddable, any). See
CollectionTable
for details.
Modifier and Type | Method and Description |
---|---|
Identifier |
determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source)
Determine the column name related to the discriminator portion of an ANY mapping when
no explicit column name is given.
|
Identifier |
determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source)
Determine the column name related to the key/id portion of an ANY mapping when
no explicit column name is given.
|
Identifier |
determineBasicColumnName(ImplicitBasicColumnNameSource source)
Determine the name of an attribute's column given the source naming
information, when a name is not explicitly given.
|
Identifier |
determineCollectionTableName(ImplicitCollectionTableNameSource source)
Determine the name of a collection join table given the source naming
information, when a name is not explicitly given.
|
Identifier |
determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source)
Determine the implicit name for the discriminator column for the given entity
|
Identifier |
determineForeignKeyName(ImplicitForeignKeyNameSource source) |
Identifier |
determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source)
Determine the implicit name for the identifier column for the given entity
|
Identifier |
determineIndexName(ImplicitIndexNameSource source) |
Identifier |
determineJoinColumnName(ImplicitJoinColumnNameSource source)
Determine the column name related to
JoinColumn . |
Identifier |
determineJoinTableName(ImplicitJoinTableNameSource source)
Determine the name of an association join table given the source naming
information, when a name is not explicitly given.
|
Identifier |
determineListIndexColumnName(ImplicitIndexColumnNameSource source) |
Identifier |
determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source) |
Identifier |
determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source)
Determine the column name related to
PrimaryKeyJoinColumn . |
Identifier |
determinePrimaryTableName(ImplicitEntityNameSource source)
Determine the implicit name of an entity's primary table.
|
Identifier |
determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source)
Determine the implicit name for the tenant (multi-tenancy) identifier column for the given entity
|
Identifier |
determineUniqueKeyName(ImplicitUniqueKeyNameSource source) |
Identifier determinePrimaryTableName(ImplicitEntityNameSource source)
source
- The source informationIdentifier determineJoinTableName(ImplicitJoinTableNameSource source)
source
- The source informationIdentifier determineCollectionTableName(ImplicitCollectionTableNameSource source)
source
- The source informationIdentifier determineDiscriminatorColumnName(ImplicitDiscriminatorColumnNameSource source)
source
- The source informationIdentifier determineTenantIdColumnName(ImplicitTenantIdColumnNameSource source)
source
- The source informationIdentifier determineIdentifierColumnName(ImplicitIdentifierColumnNameSource source)
source
- The source informationIdentifier determineBasicColumnName(ImplicitBasicColumnNameSource source)
source
- The source informationIdentifier determineJoinColumnName(ImplicitJoinColumnNameSource source)
JoinColumn
. In
hbm.xml
terms, this would be a <key/>
defined for a collection
or the column associated with a many-to-one.source
- The source informationIdentifier determinePrimaryKeyJoinColumnName(ImplicitPrimaryKeyJoinColumnNameSource source)
PrimaryKeyJoinColumn
. In
hbm.xml
terms, this would be a <key/>
defined for a <join/>
or a <joined-subclass/>
(others?)source
- The source informationIdentifier determineAnyDiscriminatorColumnName(ImplicitAnyDiscriminatorColumnNameSource source)
source
- The source informationIdentifier determineAnyKeyColumnName(ImplicitAnyKeyColumnNameSource source)
source
- The source informationIdentifier determineMapKeyColumnName(ImplicitMapKeyColumnNameSource source)
Identifier determineListIndexColumnName(ImplicitIndexColumnNameSource source)
Identifier determineForeignKeyName(ImplicitForeignKeyNameSource source)
Identifier determineUniqueKeyName(ImplicitUniqueKeyNameSource source)
Identifier determineIndexName(ImplicitIndexNameSource source)
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.