Subject | Re: [Firebird-Java] Yet about code that works in 1.5.5 and doesn't in 2.0.1 (getResultSet) |
---|---|
Author | Roman Rokytskyy |
Post date | 2006-03-30T20:36:43Z |
> Then, if I don't get the ResultSet like this "rs =It is not a bug, but JDBC specification that requires us to do so (see
> stmt.executeQuery(...);", and try to call "getResultSet();" after in the
> code, the lines 537-539 arises an exception:
> if (currentRs != null) {
> throw new FBSQLException("Only one resultset at a time/statement.");
> }
>
> Then, I think this is a bug in Jaybird driver, that don't allow
> separated calls to "getResultSet();".
Javadoc for getResultSet() method). If you check it deeper, you will see
other weird code that is there only to support such odd things.
Roman