Hello, I've downloaded the current sources (7.3.0.23a) from ftp. I can compile and debug them. My testsuite didn't found any problem with deleteRow or moveToInsertRow. So I think you use an old version of the driver. Also the attached JDCB-trace shows the version string "7.2 Build 000-000-246-309" which is another hint for an old version. You should check your classpath, maybe it contains an old JDBC-driver.
Reagrds, Marco > -----Original Message----- > From: Blas Rodriguez Somoza [mailto:[EMAIL PROTECTED]] > Sent: Montag, 22. April 2002 13:24 > To: Paskamp, Marco; [EMAIL PROTECTED] > Subject: Re: JDBC Updatable cursors > > > Hello > > After a couple of hours of work I think I has found the problem. > > I try to debug the driver, but found some problems with > the debugger, > apparently the sources and the binaries of version 7.3.0.23a > don't match. > After some time I compile the source of 7.3.0.23a and I > discover that the > sources and binaries now match and the bugs dissapear. > > I compare the line numbers from the debugger for the > class included in > the 7.3.0.23a version and it match with the sources in > version 7.3.0.08 and > don't match with sources in version 7.3.0.20|21a|23a. I can't > compare with > intermediate versions because there are no files for it in the ftp. > > Please, tell me if you find the problem. > > Regards > Blas Rodriguez Somoza > > ----- Original Message ----- > From: "Paskamp, Marco" <[EMAIL PROTECTED]> > To: "'Blas Rodriguez Somoza'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> > Sent: Monday, April 22, 2002 8:43 AM > Subject: RE: JDBC Updatable cursors > > > > Hi, > > > > > -----Original Message----- > > > From: Blas Rodriguez Somoza [mailto:[EMAIL PROTECTED]] > > > Sent: Samstag, 20. April 2002 17:22 > > > To: [EMAIL PROTECTED] > > > Subject: JDBC Updatable cursors > > > > > > > > > Hello > > > > > > The bug in ResultSet.moveToInsertRow() that produces an > > > endless loop and > > > it is supposed to be solved, is not solved in JDBC 7.3.0.21 > > > or 7.3.0.23a. > > > > An example which reproduce the error would be very helpful. > > > > > > > > The ResultSet.deleteRow() in 7.3.0.23a does nothing and > > > don't throw any > > > error. > > > > There are two classes in the JDBC-driver that implements > the interface > > java.sql.ResultSet. The class > com.sap.dbtech.jdbc.ResultSetSapDB handles > > resultsets that are not updatable. And the class > > com.sap.dbtech.jdbc.UpdatableResultSetSapDB handles the updatable > > resultsets. So if you are looking for the implementation of > > java.sql.ResultSet.deleteRow() you should have a look to the class > > UpdatableResultSetSapDB . > > > > BTW, when I look into the source (7.3.0.23a) of > ResultSetSapDB.deleteRow() > I > > can found the following coding: > > public void deleteRow() throws SQLException { > > this.throwNotUpdatable(); > > } > > The SQLException "ResultSet not updatable" will always be > thrown because > > ResultSetSapDB handles only resultsets that are not updatable. > > > > Regards, > > Marco > > ---------------------------------------------- > > Marco PASKAMP > > SAP DB, SAP Labs Berlin > > _______________________________________________ > > sapdb.general mailing list > > [EMAIL PROTECTED] > > http://listserv.sap.com/mailman/listinfo/sapdb.general > > > _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
