[Pljava-dev] java.lang.NoSuchMethodError: method java.sql.ResultSet.isClosed with signature ()Z was not found.

From: johann at 2ndquadrant(dot)com (Johann 'Myrkraverk' Oskarsson)
To:
Subject: [Pljava-dev] java.lang.NoSuchMethodError: method java.sql.ResultSet.isClosed with signature ()Z was not found.
Date: 2011-12-05 23:07:06
Message-ID: x6fwgywrc5.fsf@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

Vorarlberger <vorarlberger at gmail.com> writes:

> PS This is on Linux postgres 9.1 and pljava 1.4.3

PL/Java 1.4.3 is built with Java 1.5 and hence implements JDBC 3. Are
you running it with Java 1.6? Normally that works fine because JNI is
backwards compatible.

You are using the JDBC 4 driver.

Please either use the JDBC 3 driver and compile and run your code with
Java 1.5 or upgrade PL/Java to CVS HEAD with Java 1.6. Then let us
know if it works or not.

--
Johann Oskarsson http://www.2ndquadrant.com/ |[]
PostgreSQL Development, 24x7 Support, Training and Services --+--
|
Blog: http://my.opera.com/myrkraverk/blog/

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message John R Pierce 2011-12-06 06:07:50 [Pljava-dev] CVS HEAD is now Java 6.
Previous Message John R Pierce 2011-12-05 21:52:20 [Pljava-dev] CVS HEAD is now Java 6.