public class CamelCaseToUnderscoresNamingStrategy extends Object implements PhysicalNamingStrategy
Constructor and Description |
---|
CamelCaseToUnderscoresNamingStrategy() |
Modifier and Type | Method and Description |
---|---|
protected Identifier |
getIdentifier(String name,
boolean quoted,
JdbcEnvironment jdbcEnvironment)
Get an identifier for the specified details.
|
protected boolean |
isCaseInsensitive(JdbcEnvironment jdbcEnvironment)
Specify whether the database is case sensitive.
|
Identifier |
toPhysicalCatalogName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
toPhysicalColumnName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
toPhysicalSchemaName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
toPhysicalSequenceName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
Identifier |
toPhysicalTableName(Identifier name,
JdbcEnvironment jdbcEnvironment) |
public CamelCaseToUnderscoresNamingStrategy()
public Identifier toPhysicalCatalogName(Identifier name, JdbcEnvironment jdbcEnvironment)
toPhysicalCatalogName
in interface PhysicalNamingStrategy
public Identifier toPhysicalSchemaName(Identifier name, JdbcEnvironment jdbcEnvironment)
toPhysicalSchemaName
in interface PhysicalNamingStrategy
public Identifier toPhysicalTableName(Identifier name, JdbcEnvironment jdbcEnvironment)
toPhysicalTableName
in interface PhysicalNamingStrategy
public Identifier toPhysicalSequenceName(Identifier name, JdbcEnvironment jdbcEnvironment)
toPhysicalSequenceName
in interface PhysicalNamingStrategy
public Identifier toPhysicalColumnName(Identifier name, JdbcEnvironment jdbcEnvironment)
toPhysicalColumnName
in interface PhysicalNamingStrategy
protected Identifier getIdentifier(String name, boolean quoted, JdbcEnvironment jdbcEnvironment)
isCaseInsensitive(JdbcEnvironment)
name
- the name of the identifierquoted
- if the identifier is quotedjdbcEnvironment
- the JDBC environmentprotected boolean isCaseInsensitive(JdbcEnvironment jdbcEnvironment)
jdbcEnvironment
- the JDBC environment which can be used to determine caseCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.