Re: question about AbstractJdbc2Statement - Mailing list pgsql-jdbc

From Luca Ferrari
Subject Re: question about AbstractJdbc2Statement
Date
Msg-id 200705241449.51487.fluca1978@infinito.it
Whole thread Raw
In response to Re: question about AbstractJdbc2Statement  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
On Thursday 24 May 2007 Oliver Jowett's cat, walking on the keyboard, wrote:
> Luca Ferrari wrote:
> > Can somebody explain me when multiple
> > resultset can be returned from a query?
>
> stmt.execute("SELECT * FROM table1; SELECT * FROM table2");
>


In this case, instead of processing both the queries and then throwing an
exception, should not be better to parse the string and send an exception
before processing the queries?
Just curios!

Luca


pgsql-jdbc by date:

Previous
From: Mamoon Rashid
Date:
Subject: setting CLASSPATH of the jdbc jar file
Next
From: Leonel
Date:
Subject: Re: setting CLASSPATH of the jdbc jar file