JDK 1.3.1 - JDBC 2.0
MS SQL Server Driver for JDBC

When using Castor and asking for the size of a QueryResults instance I
receive a SQLException. Checking the Castor code I noticed that in the
size() method resultSet.last() method is used. According to the JavaDoc,
calling the last method on a TYPE_FORWARD_ONLY resultset should throw a
SQLException ...

In Castor statements are created using con.createStatement() without
specifying any arguments (meaning TYPE_FORWARD_ONLY and CONCUR_READ_ONLY -
default values).

How should I handle this?

Laurent.

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to