Re: Cursors and JDBC

From: Kris Jurka <books(at)ejurka(dot)com>
To: Wiebe de Jong <wiebedj(at)shaw(dot)ca>
Cc: Pgsql-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Cursors and JDBC
Date: 2004-10-04 21:53:36
Message-ID: Pine.BSO.4.56.0410041638210.29713@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 4 Oct 2004, Wiebe de Jong wrote:

> I am trying to implement cursors using JDBC connector version 7.1b5
> (postgresql-7.1b5.jar), but can't get it to work.

Before saying anything else, I have to tell you to get off 7.1, especially
a beta version of it.

The first JDBC driver to have cursor support was the 7.4 series. It has
been tested for backward compatibility to 7.2, but not 7.1. That said I
believe it should work against a 7.1 server. So download a 7.4 jar file
from http://jdbc.postgresql.org/download.html and see this documentation:

http://www.postgresql.org/docs/7.4/static/jdbc-query.html#JDBC-QUERY-WITH-CURSOR

Kris Jurka

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mage 2004-10-04 21:58:53 pgsql 8 beta document
Previous Message Martijn van Oosterhout 2004-10-04 21:42:01 Re: LOST REFERENTIAL INTEGRITY