public class SpringPhysicalNamingStrategy
extends java.lang.Object
implements org.hibernate.boot.model.naming.PhysicalNamingStrategy
PhysicalNamingStrategy
that follows Spring recommended naming
conventions.Constructor and Description |
---|
SpringPhysicalNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected org.hibernate.boot.model.naming.Identifier |
getIdentifier(java.lang.String name,
boolean quoted,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
Get an identifier for the specified details.
|
protected boolean |
isCaseInsensitive(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
Specify whether the database is case sensitive.
|
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 name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
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 name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
public 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.PhysicalNamingStrategy
public 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.PhysicalNamingStrategy
public org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
toPhysicalTableName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
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.PhysicalNamingStrategy
public org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
toPhysicalColumnName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
protected org.hibernate.boot.model.naming.Identifier getIdentifier(java.lang.String name, boolean quoted, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
isCaseInsensitive(JdbcEnvironment)
name
- the name of the identifierquoted
- if the identifier is quotedjdbcEnvironment
- the JDBC environmentprotected boolean isCaseInsensitive(org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment)
jdbcEnvironment
- the JDBC environment which can be used to determine case