Re: JDBC2.0 Support - Mailing list pgsql-jdbc

From Peter T Mount
Subject Re: JDBC2.0 Support
Date
Msg-id 986219430.3ac883a647558@webmail.retep.org.uk
Whole thread Raw
In response to JDBC2.0 Support  ("Pattabi Raman" <Pattabi.Raman@chennai.transys.net>)
List pgsql-jdbc
Quoting Pattabi Raman <Pattabi.Raman@chennai.transys.net>:

> We have Postgres 7.0.3 running on Red Hat 7.0. The JVM installed is from
> Blackdown.org. We are using jdbc7.1_1.2.jar driver.
>
> We are unable to use the JDBC2.0 methods.
> For example:
> we tried calling
> DatabaseMetaData.supportsResultSetType(int) method
> and ResultSet.absolute(int) method.
> We are getting method not supported exception, but we do find the jdbc2
> package in the jar file that has implementation for these methods.
> What are we supposed to do to make this work?

They are supported in 7.1, but you may have an early beta jar file. Also, parts
of the 7.1 driver will not work with 7.0.3 (as it relies on 7.1 features), but
these parts will.

Also, check to see if you have another copy of the driver installed. It might
be that RedHat7 has installed the 7.0.3 driver, in which case you would also
see this problem (its loading 7.0.3 but the 7.1 driver has the support).

Peter


>
> Regards,
> Pattabi
>



--
Peter Mount peter@retep.org.uk
PostgreSQL JDBC Driver: http://www.retep.org.uk/postgres/
RetepPDF PDF library for Java: http://www.retep.org.uk/pdf/

pgsql-jdbc by date:

Previous
From: Peter T Mount
Date:
Subject: Re: Jdbc driver
Next
From: Peter T Mount
Date:
Subject: Re: RE: Problem connecting to JDBC 7.0-1.2 driver