根据给定的列索引和小数位数使用 Object 值更新指定的列。
语法
public void updateObject(int index, java.lang.Object x, int scale)
参数
index
指示列索引的 int 值。
obj
Object 值。
scale
对于 java.sql.Types.DECIMAL 或 java.sql.Types.NUMERIC 类型,这是小数点后的位数。对于所有其他类型,则忽略此值。
updateObject 方法 (int, java.lang.Object, int) |
根据给定的列索引和小数位数使用 Object 值更新指定的列。
public void updateObject(int index, java.lang.Object x, int scale)
index
指示列索引的 int 值。
obj
Object 值。
scale
对于 java.sql.Types.DECIMAL 或 java.sql.Types.NUMERIC 类型,这是小数点后的位数。对于所有其他类型,则忽略此值。