类 JpaCommentRepository
java.lang.Object
cn.warpin.core.base.jpa.jpaComment.repository.JpaCommentRepository
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidalterColumnComment(String tableName, String columnName, String columnComment) 更新字段注释voidalterTableComment(String tableName, String tableComment) 更新表注释private StringgetColumnCommentAlterSql(String tableName, String columnName) 获取更新字段注释的方法获取数据库类型private StringgetTableAlterSql(String tableName) 获取更新表注释的方法
-
字段详细资料
-
jdbcTemplate
public org.springframework.jdbc.core.JdbcTemplate jdbcTemplate
-
-
构造器详细资料
-
JpaCommentRepository
public JpaCommentRepository()
-
-
方法详细资料
-
alterTableComment
更新表注释- 参数:
tableName-tableComment-
-
alterColumnComment
更新字段注释- 参数:
tableName-columnName-columnComment-
-
getTableAlterSql
获取更新表注释的方法- 参数:
tableName-- 返回:
-
getColumnCommentAlterSql
获取更新字段注释的方法- 参数:
tableName-columnName-- 返回:
-
getDatabaseType
获取数据库类型- 返回:
- 抛出:
SQLException
-