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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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