Quote:>> So it seems that RmiJdbc doesn't implement JDBC 2.0.
Quote:>Hope someone clever java guru can implement a new version with jdbc2.0
>methods.
I think that one does not even need to be so guru-like; the
implementation of e.g. the ResultSet methods in RmiJdbc looks
like this:
public boolean next() throws RemoteException, SQLException {
return jdbcResultSet_.next();
}
And here jdbcResultSet_ is an instance of java.sql.ResultSet.
So I think that upgrading to JDBC 2.0 should be fairly trivial;
just passing all the calls to the new methods over to the
corresponding java.sql.* methods, e.g. in RJResultSetServer.java:
public int getRow() throws RemoteException, SQLException {
return jdbcResultSet_.getRow();
}
But I'm not sure. Even less sure I am that I'd be into doing all
that :) Though if I'm correct, it shouldn't be any more than a
mechanical job... I emailed to the developer and asked if it
will really be that simple.
--
* <URL: http://www.euro.cauce.org/>