Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2 - Mailing list pgsql-jdbc

From Iván Velamazán González
Subject Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2
Date
Msg-id 471F015A.1090008@gtbi.net
Whole thread Raw
In response to "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2  ("Matthew Storer" <matthewstorer@fastmail.us>)
List pgsql-jdbc
Hello to everybody:

Matthew Storer escribió:
> On a possibly related note, I read in the Apache Commons DBCP README
> that says:
> "This release of JDBC compiles with and supports JDK 1.3 (JDBC 2.0) and
> JDK 1.4-1.5 (JDBC 3.0). JDK 1.6 (JDBC 4.0) is not supported by this
> release."  I'd like to try using PostgreSQL's JDBC3 drivers, but the
> site says that if I'm using Java 1.6 I shouldn't use that, but should
> use their JDBC4 drivers instead.  Any thoughts?
>
Try playing with the javac "-source" option to set your source level to
1.5. That error drove me crazy for a while untill I set up my code to be
compatible with Java 1.5.

--
Iván Velamazán González


pgsql-jdbc by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2
Next
From: LiuYan 刘研
Date:
Subject: Re: Chinese database name in URL, can I ?