Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 8BD591337B2F for ; Wed, 10 Nov 2010 13:20:20 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 79155-05 for ; Wed, 10 Nov 2010 17:20:03 +0000 (UTC) X-Greylist: delayed 00:12:06.456964 by SQLgrey-1.7.6 Received: from MIS010-3.exch010.intermedia.net (mis010-3.exch010.intermedia.net [64.78.17.181]) by mail.postgresql.org (Postfix) with ESMTP id F0661133616B for ; Wed, 10 Nov 2010 13:20:02 -0400 (AST) Received: from mis010.exch010.intermedia.net ([10.254.1.34]) by MIS010-3.exch010.intermedia.net with Microsoft SMTPSVC(6.0.3790.4675); Wed, 10 Nov 2010 09:07:54 -0800 Received: from [192.168.1.12] ([76.102.31.17]) by mis010.exch010.intermedia.net over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 10 Nov 2010 09:07:54 -0800 User-Agent: Microsoft-MacOutlook/14.0.0.100825 Date: Wed, 10 Nov 2010 09:07:39 -0800 Subject: Re: JDBC4 and JDK 1.6 From: Stephen Ripley To: Kris Jurka , Nathan Sullins CC: Message-ID: Thread-Topic: [JDBC] JDBC4 and JDK 1.6 In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 10 Nov 2010 17:07:54.0647 (UTC) FILETIME=[D0AE0A70:01CB80F9] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.6 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7 X-Spam-Level: X-Archive-Number: 201011/23 X-Sequence-Number: 21144 Kris, Thanks again for you quick response. MyNewPlace occasionally hosts the San Francisco Postgres user's group at our offices. It would be great to meet some of the developers who work on the JDBC drivers at one of these events. Regards, Stephen Ripley Sr. Director, Software Development | O: 415-348-2016 | M: 415-632-6057 | sripley@mynewplace.com On 11/9/10 4:21 PM, "Kris Jurka" wrote: > > >On Tue, 9 Nov 2010, Nathan Sullins wrote: > >> I am in the process of upgrading my company?s JDK to 1.6 and have a >>few >> questions about the recommended JDBC driver. The Postgres JDBC site >> suggests using the latest (9.0-801) JDBC4 driver with JDK 1.6. However >> the site also mentions some not so inspiring comments on the latest >> driver including ?Support for JDBC4 methods is limited. The driver >> builds, but the several of the new methods are stubbed out?. This makes >> me wonder how worthy of an upgrade it is, since the driver?s only been >> production ready for less than 2 months and doesn?t fully implement the >> JDBC4 interface. >> > >The driver has had at least partial JDBC4 support since the 8.2 release >nearly four years ago and supporting the new JDBC4 features has been a >gradual process. > >> Of the new JDBC4 features I?m most excited about the enhanced exception >> handling and XML support, given this, can anyone please provide a >> meaningful reason why I should upgrade the driver? What if any are the >> known bugs associated with the latest JDBC4 driver and what >> functionality in particular is stubbed out? > >There's no reason not to upgrade the driver. The difference between >JDBC3 >and JDBC4 versions should just be in the new JDBC4 functionality. So if >you don't use it, it can't hurt you and if you do try to use it, it will >be there. > >As to your specific questions SQLXML support has been added, but there is >no support for different types of SQLExceptions. > >Kris Jurka