From: Oliver Jowett <oliver@opencloud.com>
To: Dave Smith <dave.smith@candata.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Bug in setFetchSize
Date: Fri, 03 Dec 2004 20:40:34 +0000
Message-ID: <41B0CF42.3080907@opencloud.com> (raw)
In-Reply-To: <1102083199.6713.3.camel@playpen.candata.com>
References: <1102005138.4563.9.camel@playpen.candata.com>
<41AF8727.90404@opencloud.com>
<1102083199.6713.3.camel@playpen.candata.com>
Dave Smith wrote:
> Does it matter if the setAutoCommit is true or false .. or is it just an
> explicit commit(); call that would close the portal?
If autocommit is true then the driver shouldn't be using cursors at all
in theory (since they'd become invalid immediately).
Note that setAutoCommit() will do an implicit commit(), so if you're
running with autocommit off, doing some queries, calling setAutoCommit,
then trying to use the resultsets, then you will see similar problems.
Example code showing the problem?
-O
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: oliver@opencloud.com, dave.smith@candata.com
Subject: Re: Bug in setFetchSize
In-Reply-To: <41B0CF42.3080907@opencloud.com>
References: <1102005138.4563.9.camel@playpen.candata.com> <41AF8727.90404@opencloud.com> <1102083199.6713.3.camel@playpen.candata.com> <41B0CF42.3080907@opencloud.com>
* 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