Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 4B89A9FC153 for ; Wed, 24 Oct 2007 06:22:47 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 86764-07 for ; Wed, 24 Oct 2007 06:22:29 -0300 (ADT) X-Greylist: delayed 00:33:20.467928 by SQLgrey-1.7.5 Received: from mail.itencore.net (unknown [82.194.75.93]) by postgresql.org (Postfix) with ESMTP id 817909FBC85 for ; Wed, 24 Oct 2007 06:22:31 -0300 (ADT) Received: from [192.168.0.105] (114.132.15.62.static.jazztel.es [62.15.132.114]) by mail.itencore.net (Postfix) with ESMTP id D423E2F28F for ; Wed, 24 Oct 2007 10:24:41 +0200 (CEST) Message-ID: <471F015A.1090008@gtbi.net> Date: Wed, 24 Oct 2007 10:24:58 +0200 From: =?ISO-8859-1?Q?Iv=E1n_Velamaz=E1n_Gonz=E1lez?= Organization: GeoToolBox =?ISO-8859-1?Q?Ib=E9rica=2C_S=2EL=2E?= User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); es-ES; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 CC: pgsql-jdbc@postgresql.org Subject: Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache Commons DBCP 1.2.2 References: <1193159536.9909.1217408695@webmail.messagingengine.com> In-Reply-To: <1193159536.9909.1217408695@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=1.393 tagged_above=0 required=5 tests=BAYES_50=0.001, MISSING_HEADERS=1.292, RDNS_NONE=0.1 X-Spam-Level: * X-Archive-Number: 200710/128 X-Sequence-Number: 17700 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