Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group