Re: question about AbstractJdbc2Statement

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: question about AbstractJdbc2Statement
Date: 2007-05-24 12:49:51
Message-ID: 200705241449.51487.fluca1978@infinito.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Leonel 2007-05-24 13:01:55 Re: setting CLASSPATH of the jdbc jar file
Previous Message Oliver Jowett 2007-05-24 12:04:17 Re: question about AbstractJdbc2Statement