Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2

Поиск
Список
Период
Сортировка
От Iván Velamazán González
Тема Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2
Дата
Msg-id 471F015A.1090008@gtbi.net
обсуждение исходный текст
Ответ на "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2  ("Matthew Storer" <matthewstorer@fastmail.us>)
Список 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 по дате отправления:

Предыдущее
От: "Albe Laurenz"
Дата:
Сообщение: Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2
Следующее
От: LiuYan 刘研
Дата:
Сообщение: Re: Chinese database name in URL, can I ?