Re: JDBC: Exception when calling ResultSet.previous()

From: Rene Pijlman <reageer(dot)in(at)de(dot)nieuwsgroep>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: JDBC: Exception when calling ResultSet.previous()
Date: 2001-08-26 20:46:22
Message-ID: iqniotg8lt5t4i7q7gdh5q16l0ta9co4dp@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Peter Wasem schreef:
>In a JAVA-project I need to process a ResultSet with both methods
>previous() and next() to move
>arround in ResultSets. The ResultSet method next() is no problem. But
>when I call the next()
>method I get the following exception.
>
>Exception in thread "main" java.lang.AbstractMethodError:
>org/postgresql/jdbc1/ResultSet.previous

It seems you're using a PostgreSQL driver built for JDBC-1, whereas
ResultSet.previous() is new in JDBC-2. Try jdbc7.1-1.3.jar from
http://jdbc.fastcrypt.com/

FYI there is a mailing list about PostgreSQL/JDBC. See
http://www.ca.postgresql.org/users-lounge/

--
René Pijlman <rpijlman(at)spamcop(dot)net>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Björn Lundin 2001-08-27 19:45:27 How does pg work?
Previous Message Peter Wasem 2001-08-26 19:41:23 JDBC: Exception when calling ResultSet.previous()