7.2 Driver known issues and looking for testers - Mailing list pgsql-jdbc

From Dave Cramer
Subject 7.2 Driver known issues and looking for testers
Date
Msg-id 014601c1cf94$a68359a0$807ba8c0@inspiron
Whole thread Raw
List pgsql-jdbc
The 7.2 driver has some problems with recovering from Exceptions.

This will be a problem if you are using a connection pool. Or using the
connections after an exception has been thrown out of the driver.

I have confirmed this to be a problem and have a fix, however in the
process of fixing it I have made some improvements to the protocol, and
it should be faster. That being said, I am looking for some adventurous
souls to run this new driver

Currently it has some logging in it which can be enabled with after the
Driver has been loaded. It will log the protocol.

            DriverManager.setLogWriter(new
java.io.PrintWriter(System.out));

org.postgresql.Driver.setLogLevel(org.postgresql.Driver.DEBUG);

I will put it on the jdbc.postgresql.org site as the jdbc2dev driver.
http://jdbc.postgresql.org/download/devpgjdbc2.jar

Please let me know about bugs in this driver as soon as possible. I have
tested it with my code, and sites, so it's not completely broken; but
could have some subtle bugs in it.

Dave



pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: Re: Suggestion for an improvement... ("database" part missing in URI)
Next
From: Tim Lewis
Date:
Subject: "No results were returned by the query" exceptions