Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.92 KB

File metadata and controls

65 lines (50 loc) · 1.92 KB
title updateObject Method (java.lang.String, java.lang.Object, int) | Microsoft Docs
ms.custom
ms.date 01/19/2017
ms.prod sql-non-specified
ms.prod_service drivers
ms.service
ms.component jdbc
ms.reviewer
ms.suite sql
ms.technology
drivers
ms.tgt_pltfrm
ms.topic article
apiname
SQLServerResultSet.updateObject (java.lang.String, java.lang.Object, int)
apilocation
sqljdbc.jar
apitype Assembly
ms.assetid 27283ce1-637e-4e2c-91ee-8ad379114ac5
caps.latest.revision 15
author MightyPen
ms.author genemi
manager jhubbard
ms.workload Inactive

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

[!INCLUDEDriver_JDBC_Download]

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

Syntax

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

Parameters

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.

Exceptions

SQLServerException

Remarks

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

See Also

updateObject Method (SQLServerResultSet)
SQLServerResultSet Members
SQLServerResultSet Class