public class CamelCaseToSnakeCaseNamingStrategy
extends org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
For more details about how to use it, check out this article on vladmihalcea.com.
Modifier and Type | Field and Description |
---|---|
static String |
CAMEL_CASE_REGEX |
static CamelCaseToSnakeCaseNamingStrategy |
INSTANCE |
static String |
SNAKE_CASE_PATTERN |
Constructor and Description |
---|
CamelCaseToSnakeCaseNamingStrategy()
Initialization constructor taking the default
Configuration object. |
CamelCaseToSnakeCaseNamingStrategy(Configuration configuration)
Initialization constructor taking the
Class and Configuration objects. |
Modifier and Type | Method and Description |
---|---|
org.hibernate.boot.model.naming.Identifier |
toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) |
org.hibernate.boot.model.naming.Identifier |
toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name,
org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) |
public static final CamelCaseToSnakeCaseNamingStrategy INSTANCE
public static final String CAMEL_CASE_REGEX
public static final String SNAKE_CASE_PATTERN
public CamelCaseToSnakeCaseNamingStrategy()
Configuration
object.public CamelCaseToSnakeCaseNamingStrategy(Configuration configuration)
Class
and Configuration
objects.configuration
- custom Configuration
object.public org.hibernate.boot.model.naming.Identifier toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalCatalogName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalCatalogName
in class org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
public org.hibernate.boot.model.naming.Identifier toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalSchemaName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalSchemaName
in class org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
public org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalTableName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalTableName
in class org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
public org.hibernate.boot.model.naming.Identifier toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalSequenceName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalSequenceName
in class org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
public org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context)
toPhysicalColumnName
in interface org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalColumnName
in class org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Copyright © 2022. All rights reserved.