Hi

    Excuse me and forget everything about the moveToInsertRow bug. The
problem is not int the JDBC driver but in a classloader that we use to load
drivers and produces the problem if there is more than one driver in a
directory.

Regards
Blas Rodriguez Somoza.

----- Original Message -----
From: "Blas Rodriguez Somoza" <[EMAIL PROTECTED]>
To: "Paskamp, Marco" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, April 22, 2002 1:30 PM
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, confirm 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

Reply via email to