Freigeben über


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

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

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

Parameter

columnName

A String that contains the column name.

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.

Ausnahmen

SQLServerException

Hinweise

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

Siehe auch

Referenz

SQLServerResultSet Class

Konzepte

updateObject Method (SQLServerResultSet)
SQLServerResultSet Methods
SQLServerResultSet Members