Re: Forcing cursor behavior - Mailing list pgsql-jdbc

From Віталій Тимчишин
Subject Re: Forcing cursor behavior
Date
Msg-id 331e40660907210629y2304bb24v4508a79474918571@mail.gmail.com
Whole thread Raw
In response to Re: Forcing cursor behavior  (Shawn Heisey <pgsql@elyograg.org>)
List pgsql-jdbc


2009/7/21 Shawn Heisey <pgsql@elyograg.org>

To the person with the Cyrillic name that also responded ... how much effort would be involved in writing the delegating driver you described?

It depends on how you configure which driver is used - with DataSource or DriverManager URL. Simply wrapping a Connection would be few hundred lines of similar code that can be done in few days (few hours for "fast prototype") - I've done similar things for running tests on embedded Java DB instead of postgres used in production.
Registering new prefix in DriverManager (e.g. "jdbc:postgrespatched:url") may take some more time - one need to look into JDBC SPI.

Best regards, Vitalii Tymchyshyn.

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Forcing cursor behavior
Next
From: Stephen Eng
Date:
Subject: IQ in Postgre