类 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.Identifier
    toPhysicalColumnName(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)
    将驼峰命名的表名转换为下划线命名。

    从类继承的方法 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 环境
      返回:
      转换后的物理表名标识符