Re: JDBC: Exception when calling ResultSet.previous() - Mailing list pgsql-interfaces

From Rene Pijlman
Subject Re: JDBC: Exception when calling ResultSet.previous()
Date
Msg-id iqniotg8lt5t4i7q7gdh5q16l0ta9co4dp@4ax.com
Whole thread Raw
List 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@spamcop.net>


pgsql-interfaces by date:

Previous
From: pgsql-hackers@thewrittenword.com
Date:
Subject: Re: [HACKERS] libpq++ current sources don't compile with older C++ compilers
Next
From: "Billy G. Allie"
Date:
Subject: Re: PQgetvalue and User defined types/Arrays fields