类 CustomPhysicalNamingStrategy
java.lang.Object
org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
cn.warpin.core.base.jpa.jpaStrategy.CustomPhysicalNamingStrategy
- 所有已实现的接口:
Serializable,org.hibernate.boot.model.naming.PhysicalNamingStrategy
public class CustomPhysicalNamingStrategy
extends org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
自定义物理命名策略,将驼峰命名转换为下划线命名。
- 另请参阅:
-
字段概要
从类继承的字段 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
INSTANCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.hibernate.boot.model.naming.IdentifiertoPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) 将驼峰命名的列名转换为下划线命名。org.hibernate.boot.model.naming.IdentifiertoPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) 将驼峰命名的表名转换为下划线命名。从类继承的方法 org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
toPhysicalCatalogName, toPhysicalSchemaName, toPhysicalSequenceName从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.hibernate.boot.model.naming.PhysicalNamingStrategy
toPhysicalTypeName
-
构造器详细资料
-
CustomPhysicalNamingStrategy
public CustomPhysicalNamingStrategy()
-
-
方法详细资料
-
toPhysicalColumnName
public org.hibernate.boot.model.naming.Identifier toPhysicalColumnName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) 将驼峰命名的列名转换为下划线命名。- 指定者:
toPhysicalColumnName在接口中org.hibernate.boot.model.naming.PhysicalNamingStrategy- 覆盖:
toPhysicalColumnName在类中org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl- 参数:
name- 列名标识符context- JDBC 环境- 返回:
- 转换后的物理列名标识符
-
toPhysicalTableName
public org.hibernate.boot.model.naming.Identifier toPhysicalTableName(org.hibernate.boot.model.naming.Identifier name, org.hibernate.engine.jdbc.env.spi.JdbcEnvironment context) 将驼峰命名的表名转换为下划线命名。- 指定者:
toPhysicalTableName在接口中org.hibernate.boot.model.naming.PhysicalNamingStrategy- 覆盖:
toPhysicalTableName在类中org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl- 参数:
name- 表名标识符context- JDBC 环境- 返回:
- 转换后的物理表名标识符
-