public class PhysicalNamingStrategyShogunCore extends Object implements org.hibernate.boot.model.naming.PhysicalNamingStrategy, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected static int |
LENGTH_LIMIT_ORACLE |
protected static int |
LENGTH_LIMIT_POSTGRESQL |
| Constructor and Description |
|---|
PhysicalNamingStrategyShogunCore() |
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.boot.model.naming.Identifier |
convertToLimitedLowerCase(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context,
org.hibernate.boot.model.naming.Identifier identifier,
String prefix)
Converts a given
Identifier to the lower case representation. |
protected Integer |
getIdentifierLengthLimit(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
Determines the identifier length limit for the given JDBC context.
|
String |
getTablePrefix() |
void |
setTablePrefix(String tablePrefix) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier columnIdentifier,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
Converts column names to lower case and limits the length if necessary.
|
org.hibernate.boot.model.naming.Identifier |
toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalTableName(org.hibernate.boot.model.naming.Identifier tableIdentifier,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
Converts table names to lower case and limits the length if necessary.
|
protected static final int LENGTH_LIMIT_ORACLE
protected static final int LENGTH_LIMIT_POSTGRESQL
public org.hibernate.boot.model.naming.Identifier toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
toPhysicalSequenceName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategypublic org.hibernate.boot.model.naming.Identifier toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
toPhysicalCatalogName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategypublic org.hibernate.boot.model.naming.Identifier toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
toPhysicalSchemaName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategypublic org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier tableIdentifier,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalTableName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategypublic org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier columnIdentifier,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalColumnName in interface org.hibernate.boot.model.naming.PhysicalNamingStrategyprotected org.hibernate.boot.model.naming.Identifier convertToLimitedLowerCase(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context,
org.hibernate.boot.model.naming.Identifier identifier,
String prefix)
Identifier to the lower case representation. If
the given context has a character limit for identifiers, this will be
respected.context - The JDBC contextidentifier - The identifierprefix - Optional prefix to use for the idenifiert. Will be ignored, if
nullprotected Integer getIdentifierLengthLimit(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
context - The current JDBC contextpublic String getTablePrefix()
public void setTablePrefix(String tablePrefix)
tablePrefix - the tablePrefix to setCopyright © 2020 terrestris GmbH & Co. KG. All rights reserved.