This commit is contained in:
Looly 2022-05-20 17:51:37 +08:00
parent 3ebd7d9ce0
commit f71311b6d3
2 changed files with 5 additions and 3 deletions

View File

@ -7,6 +7,8 @@
### 🐣新特性 ### 🐣新特性
* 【core 】 BeanUtil拷贝对象增加空检查issue#I58CJ3@Gitee * 【core 】 BeanUtil拷贝对象增加空检查issue#I58CJ3@Gitee
* 【db 】 Column#size改为long
*
### 🐞Bug修复 ### 🐞Bug修复
* 【extra 】 修复SshjSftp初始化未能代入端口配置问题issue#2333@Github * 【extra 】 修复SshjSftp初始化未能代入端口配置问题issue#2333@Github
* 【core 】 修复Convert.numberToSimple转换问题issue#2334@Github * 【core 】 修复Convert.numberToSimple转换问题issue#2334@Github

View File

@ -37,7 +37,7 @@ public class Column implements Serializable, Cloneable {
/** /**
* 大小或数据长度 * 大小或数据长度
*/ */
private int size; private long size;
private Integer digit; private Integer digit;
/** /**
* 是否为可空 * 是否为可空
@ -118,7 +118,7 @@ public class Column implements Serializable, Cloneable {
typeName = ReUtil.delLast("\\(\\d+\\)", typeName); typeName = ReUtil.delLast("\\(\\d+\\)", typeName);
this.typeName = typeName; this.typeName = typeName;
this.size = columnMetaRs.getInt("COLUMN_SIZE"); this.size = columnMetaRs.getLong("COLUMN_SIZE");
this.isNullable = columnMetaRs.getBoolean("NULLABLE"); this.isNullable = columnMetaRs.getBoolean("NULLABLE");
this.comment = columnMetaRs.getString("REMARKS"); this.comment = columnMetaRs.getString("REMARKS");
this.columnDef = columnMetaRs.getString("COLUMN_DEF"); this.columnDef = columnMetaRs.getString("COLUMN_DEF");
@ -238,7 +238,7 @@ public class Column implements Serializable, Cloneable {
* *
* @return 大小或数据长度 * @return 大小或数据长度
*/ */
public int getSize() { public long getSize() {
return size; return size;
} }