mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix size
This commit is contained in:
parent
3ebd7d9ce0
commit
f71311b6d3
@ -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)
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user