Re: How to get multiple result sets

From: Barry Lind <barry(at)xythos(dot)com>
To: "Guthrie, John" <JGuthrie(at)air(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to get multiple result sets
Date: 2002-06-22 03:41:17
Message-ID: 3D13F1DD.30506@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

John,

It currently isn't possible in the jdbc driver to get back multiple
result sets. It should be possible since the server returns multiple
result sets, but the jdbc driver doesn't currently handle them.

thanks,
--Barry

Guthrie, John wrote:

>what is the best way to send multiple queries into the database so that I
>can run Statement.execute() and get back multiple result sets? i tried
>something like:
>
>PreparedStatement ps = "select * from table1; select * from table2";
>
>running that I get back only a single result set...
>
>thanks.
>john
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-06-22 03:46:09 Re: timezone incompatibility
Previous Message Dave Cramer 2002-06-21 23:48:54 Re: String index out of range: 23 problem with timestamp