mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
fix size
This commit is contained in:
parent
3ebd7d9ce0
commit
f71311b6d3
@ -7,6 +7,8 @@
|
||||
|
||||
### 🐣新特性
|
||||
* 【core 】 BeanUtil拷贝对象增加空检查(issue#I58CJ3@Gitee)
|
||||
* 【db 】 Column#size改为long
|
||||
*
|
||||
### 🐞Bug修复
|
||||
* 【extra 】 修复SshjSftp初始化未能代入端口配置问题(issue#2333@Github)
|
||||
* 【core 】 修复Convert.numberToSimple转换问题(issue#2334@Github)
|
||||
|
@ -37,7 +37,7 @@ public class Column implements Serializable, Cloneable {
|
||||
/**
|
||||
* 大小或数据长度
|
||||
*/
|
||||
private int size;
|
||||
private long size;
|
||||
private Integer digit;
|
||||
/**
|
||||
* 是否为可空
|
||||
@ -118,7 +118,7 @@ public class Column implements Serializable, Cloneable {
|
||||
typeName = ReUtil.delLast("\\(\\d+\\)", typeName);
|
||||
this.typeName = typeName;
|
||||
|
||||
this.size = columnMetaRs.getInt("COLUMN_SIZE");
|
||||
this.size = columnMetaRs.getLong("COLUMN_SIZE");
|
||||
this.isNullable = columnMetaRs.getBoolean("NULLABLE");
|
||||
this.comment = columnMetaRs.getString("REMARKS");
|
||||
this.columnDef = columnMetaRs.getString("COLUMN_DEF");
|
||||
@ -238,7 +238,7 @@ public class Column implements Serializable, Cloneable {
|
||||
*
|
||||
* @return 大小或数据长度
|
||||
*/
|
||||
public int getSize() {
|
||||
public long getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user