updateObject 方法 (int, java.lang.Object, int)

下载 JDBC 驱动程序

根据给定的列索引和小数位数使用 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 类型,这是小数点后的位数。 对于所有其他类型,则忽略此值。

例外

SQLServerException

另请参阅

updateObject 方法 (SQLServerResultSet)
SQLServerResultSet 成员
SQLServerResultSet 类