类 JpaCommentRepository

java.lang.Object
cn.warpin.core.base.jpa.jpaComment.repository.JpaCommentRepository

@Repository public class JpaCommentRepository extends Object
  • 字段详细资料

    • jdbcTemplate

      public org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
  • 构造器详细资料

    • JpaCommentRepository

      public JpaCommentRepository()
  • 方法详细资料

    • alterTableComment

      public void alterTableComment(String tableName, String tableComment)
      更新表注释
      参数:
      tableName -
      tableComment -
    • alterColumnComment

      public void alterColumnComment(String tableName, String columnName, String columnComment)
      更新字段注释
      参数:
      tableName -
      columnName -
      columnComment -
    • getTableAlterSql

      private String getTableAlterSql(String tableName)
      获取更新表注释的方法
      参数:
      tableName -
      返回:
    • getColumnCommentAlterSql

      private String getColumnCommentAlterSql(String tableName, String columnName)
      获取更新字段注释的方法
      参数:
      tableName -
      columnName -
      返回:
    • getDatabaseType

      public String getDatabaseType()
      获取数据库类型
      返回:
      抛出:
      SQLException