public class SnakeCaseNamingStrategy extends java.lang.Object implements org.hibernate.boot.model.naming.PhysicalNamingStrategy
A naming strategy to convert camelCase columns and tables to snake_case. I'm keeping this class around in case Hibernate's CamelCaseToSnakeCase strategy doesn't do something I need.
Type Params | Return Type | Name and description |
---|---|---|
|
protected static java.lang.String |
convertToSnakeCase(java.lang.String camelCaseName) |
|
protected static org.hibernate.boot.model.naming.Identifier |
convertToSnakeCase(org.hibernate.boot.model.naming.Identifier identifier) |
|
public org.hibernate.boot.model.naming.Identifier |
toPhysicalCatalogName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
|
public org.hibernate.boot.model.naming.Identifier |
toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
|
public org.hibernate.boot.model.naming.Identifier |
toPhysicalSchemaName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
|
public org.hibernate.boot.model.naming.Identifier |
toPhysicalSequenceName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
|
public org.hibernate.boot.model.naming.Identifier |
toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment jdbcEnvironment) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |