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

Re: Forcing cursor behavior

From: Віталій Тимчишин <tivv00(at)gmail(dot)com>
To: Shawn Heisey <pgsql(at)elyograg(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Forcing cursor behavior
Date: 2009-07-21 04:42:12
Message-ID: 331e40660907202142s2abd0517icb79620cc38554f7@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
2009/7/21 Shawn Heisey <pgsql(at)elyograg(dot)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.

In response to

pgsql-jdbc by date

Next:From: Shawn HeiseyDate: 2009-07-21 09:44:47
Subject: Re: Forcing cursor behavior
Previous:From: Shawn HeiseyDate: 2009-07-21 02:14:36
Subject: Forcing cursor behavior

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