Share via


updateObject Method (int, java.lang.Object, int)

Updates the designated column with an Object value given the column index and scale.

public void updateObject(int index,
                         java.lang.Object x,
                         int scale)

Parameters

index

An int that indicates the column index.

obj

An Object value.

scale

For java.sql.Types.DECIMAL or java.sql.Types.NUMERIC types, this is the number of digits after the decimal point. For all other types, this value is ignored.

Exceptions

SQLServerException

Remarks

This updateObject method is specified by the updateObject method in the java.sql.ResultSet interface.

See Also

Reference

SQLServerResultSet Class

Concepts

updateObject Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members