@Configuration
public class PrefixAndSnakeCasePhysicalNamingStrategy
extends org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
Constructor and Description |
---|
PrefixAndSnakeCasePhysicalNamingStrategy(String tablePrefix) |
Modifier and Type | Method and Description |
---|---|
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 |
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 PrefixAndSnakeCasePhysicalNamingStrategy(@Value(value="${spring.liquibase.parameters.table-prefix}") String tablePrefix)
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 © 2020. All rights reserved.