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