Result set not positioned properly, perhaps you need to call next().

From: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Result set not positioned properly, perhaps you need to call next().
Date: 2004-11-25 22:42:51
Message-ID: m3brdlzh1w.fsf@conexa.fciencias.unam.mx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have a system which have been up for years now and recently when
switched to pg74.215.jdbc3.jar it started to fail saying:

org.postgresql.util.PSQLException: Result set not positioned properly, perhaps you need to call next().
at org.postgresql.jdbc1.AbstractJdbc1ResultSet.checkResultSet(AbstractJdbc1ResultSet.java:823)
at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:200)
at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:480)
at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:155)
....

The funny thing is that switching back to pg74.214.jdbc3.jar solves
the problem. Is this a know bug?.

Regards,
Manuel.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-11-25 23:17:03 Re: Result set not positioned properly, perhaps you need to
Previous Message Euler Taveira de Oliveira 2004-11-25 04:45:32 Translation update: pt_BR