mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
fix code
This commit is contained in:
parent
117e24cd51
commit
b5062105c8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -248,7 +248,7 @@ public class Column implements Serializable, Cloneable {
|
|||||||
* @param size 大小或数据长度
|
* @param size 大小或数据长度
|
||||||
* @return this
|
* @return this
|
||||||
*/
|
*/
|
||||||
public Column setSize(final int size) {
|
public Column setSize(final long size) {
|
||||||
this.size = size;
|
this.size = size;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user