[Microsoft][SQLServer 2000 Driver for JDBC]Row update failed
From: Saran (Saran_at_discussions.microsoft.com)
Date: 02/25/05
- Next message: Noam Ambar: "continually increasing number of open connections"
- Previous message: eswarv: "Re: XAException trying to use JDBC Driver with JTA on SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 25 Feb 2005 07:33:03 -0800
I am getting an error "[Microsoft][SQLServer 2000 Driver for JDBC]Row update
failed" while updating an int value on result set. Below is the code snippet
that i use in java. The error is occurring occasionally. Not able to
replicate.
strSQL = "SELECT intCol FROM Table1 WHERE intCol = 1";
PreparedStatement objPS = null;
...get the connection object, prepare object...using msjdbc driver with SQL
server 2000
ResultSet objRS = objPS.executeQuery();
objRS.updateInt("intCol", 2);
objRS.updateRow();
any help is appreciated.
Thanks in advance.
- Next message: Noam Ambar: "continually increasing number of open connections"
- Previous message: eswarv: "Re: XAException trying to use JDBC Driver with JTA on SQL Server 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|