I ran into that error too...
I think the only way it could work is if the jdbc driver being used has a
bug, because according to the javadocs a close on a statement should also
close the resultset.
http://java.sun.com/j2se/1.4.1/docs/api/java/sql/Statement.html#close()


I filed a bug report on it, but never heard anything back.

> -----Original Message-----
> From: Jörg Maurer [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, February 15, 2003 3:05 PM
> To: Struts Users Mailing List (E-mail)
> Subject: help on org.apache.commons.scaffold.sql.executeQuery needed -
> closes stament before evaluating result set ?????
>
>
> Using org.apache.commons.scaffold i discovered from source code that
> org.apache.commons.scaffold.sql.executeQuery(SC Line 321)  closes
> prepared statement before iterating over result set.
>
> Closing prepared statement  closes result set -> no results are longer
> available.
>
> Am i nut?
>
>
> 1. Has that ever worked for some of you - and if how?
> 2. How do i configure sth. a disconnected rowset that is used in
> org.apache.commons.scaffold.sql?
> 3. .... I am nut.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to