From: Віталій Тимчишин <tivv00@gmail.com>
To: Shawn Heisey <pgsql@elyograg.org>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Forcing cursor behavior
Date: Tue, 21 Jul 2009 07:42:12 +0300
Message-ID: <331e40660907202142s2abd0517icb79620cc38554f7@mail.gmail.com> (raw)
In-Reply-To: <4A65248C.8040406@elyograg.org>
References: <4A65248C.8040406@elyograg.org>
2009/7/21 Shawn Heisey <pgsql@elyograg.org>
>
> Would it be possible to patch the jdbc driver so that it will internally
> turn autcommit off, set the fetchsize to 10,000, and ignore any attempt by
> the application to change these parameters? Could someone create such a
> patch for me? I am using java 1.5, so the driver compiles as the 3g version.
>
Is not it easier to use a delegating driver that does required actions on
*Statement creation? You won't have to get into Postgresql JDBC driver and
will have no problems with any driver updates.
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: tivv00@gmail.com, pgsql@elyograg.org
Subject: Re: Forcing cursor behavior
In-Reply-To: <331e40660907202142s2abd0517icb79620cc38554f7@mail.gmail.com>
References: <4A65248C.8040406@elyograg.org> <331e40660907202142s2abd0517icb79620cc38554f7@mail.gmail.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