pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Luca Ferrari <fluca1978@infinito.it>
To: pgsql-jdbc@postgresql.org
Subject: Re: question about AbstractJdbc2Statement
Date: Thu, 24 May 2007 14:49:51 +0200
Message-ID: <200705241449.51487.fluca1978@infinito.it> (raw)
In-Reply-To: <46557F41.601@opencloud.com>
References: <200705240824.48717.fluca1978@infinito.it>
	<46557F41.601@opencloud.com>

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




view thread (4+ messages)  latest in thread

Message-ID: <200705241449.51487.fluca1978@infinito.it>
Permalink:  ../200705241449.51487.fluca1978@infinito.it/
Also on:    postgresql.org/message-id/200705241449.51487.fluca1978@infinito.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: fluca1978@infinito.it
  Subject: Re: question about AbstractJdbc2Statement
  In-Reply-To: <200705241449.51487.fluca1978@infinito.it>
  References: <200705240824.48717.fluca1978@infinito.it> <46557F41.601@opencloud.com> <200705241449.51487.fluca1978@infinito.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox