pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Iván Velamazán González <ivan.velamazan@gtbi.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache   Commons DBCP 1.2.2
Date: Wed, 24 Oct 2007 10:24:58 +0200
Message-ID: <471F015A.1090008@gtbi.net> (raw)
In-Reply-To: <1193159536.9909.1217408695@webmail.messagingengine.com>
References: <1193159536.9909.1217408695@webmail.messagingengine.com>

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




view thread (6+ messages)  latest in thread

Message-ID: <471F015A.1090008@gtbi.net>
Permalink:  ../471F015A.1090008@gtbi.net/
Also on:    postgresql.org/message-id/471F015A.1090008@gtbi.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: ivan.velamazan@gtbi.net
  Subject: Re: "Something unusual has occured" error using PostgreSQL 8.2 with Apache   Commons DBCP 1.2.2
  In-Reply-To: <471F015A.1090008@gtbi.net>
  References: <1193159536.9909.1217408695@webmail.messagingengine.com> <471F015A.1090008@gtbi.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox