public class Hibernate5NamingStrategy
extends org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
| Constructor and Description |
|---|
Hibernate5NamingStrategy() |
Hibernate5NamingStrategy(StrategyOptions options) |
| Modifier and Type | Method and Description |
|---|---|
org.hibernate.boot.model.naming.Identifier |
determineBasicColumnName(org.hibernate.boot.model.naming.ImplicitBasicColumnNameSource source)
Generates a name for a table column.
|
org.hibernate.boot.model.naming.Identifier |
determineForeignKeyName(org.hibernate.boot.model.naming.ImplicitForeignKeyNameSource source)
Generates a name for a foreign key constraint.
|
org.hibernate.boot.model.naming.Identifier |
determineJoinColumnName(org.hibernate.boot.model.naming.ImplicitJoinColumnNameSource source) |
org.hibernate.boot.model.naming.Identifier |
determineJoinTableName(org.hibernate.boot.model.naming.ImplicitJoinTableNameSource source)
Generates a name for a join table.
|
org.hibernate.boot.model.naming.Identifier |
determineUniqueKeyName(org.hibernate.boot.model.naming.ImplicitUniqueKeyNameSource source)
Generates a name for a unique constraint.
|
void |
setMaxLength(int maxLength) |
void |
setOptions(StrategyOptions options) |
void |
setTablePrefix(java.lang.String tablePrefix) |
protected java.lang.String |
transformEntityName(org.hibernate.boot.model.naming.EntityNaming entityNaming)
Generates a name for a dataabse table.
|
determineAnyDiscriminatorColumnName, determineAnyKeyColumnName, determineCollectionTableName, determineDiscriminatorColumnName, determineIdentifierColumnName, determineIndexName, determineListIndexColumnName, determineMapKeyColumnName, determinePrimaryKeyJoinColumnName, determinePrimaryTableName, determineTenantIdColumnName, toIdentifier, transformAttributePathpublic Hibernate5NamingStrategy()
public Hibernate5NamingStrategy(StrategyOptions options)
public void setOptions(StrategyOptions options)
public void setTablePrefix(java.lang.String tablePrefix)
public void setMaxLength(int maxLength)
protected java.lang.String transformEntityName(org.hibernate.boot.model.naming.EntityNaming entityNaming)
transformEntityName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImplpublic org.hibernate.boot.model.naming.Identifier determineBasicColumnName(org.hibernate.boot.model.naming.ImplicitBasicColumnNameSource source)
determineBasicColumnName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategydetermineBasicColumnName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImplpublic org.hibernate.boot.model.naming.Identifier determineJoinColumnName(org.hibernate.boot.model.naming.ImplicitJoinColumnNameSource source)
determineJoinColumnName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategydetermineJoinColumnName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImplpublic org.hibernate.boot.model.naming.Identifier determineJoinTableName(org.hibernate.boot.model.naming.ImplicitJoinTableNameSource source)
determineJoinTableName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategydetermineJoinTableName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImplpublic org.hibernate.boot.model.naming.Identifier determineForeignKeyName(org.hibernate.boot.model.naming.ImplicitForeignKeyNameSource source)
determineForeignKeyName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategydetermineForeignKeyName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImplpublic org.hibernate.boot.model.naming.Identifier determineUniqueKeyName(org.hibernate.boot.model.naming.ImplicitUniqueKeyNameSource source)
determineUniqueKeyName in interface org.hibernate.boot.model.naming.ImplicitNamingStrategydetermineUniqueKeyName in class org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl