pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
JDBC4 and JDK 1.6
3+ messages / 3 participants
[nested] [flat]

* JDBC4 and JDK 1.6
@ 2010-11-09 23:26  Nathan Sullins <nsullins@mynewplace.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Nathan Sullins @ 2010-11-09 23:26 UTC (permalink / raw)
  To: pgsql-jdbc; +Cc: Stephen Ripley <SRipley@mynewplace.com>

Hi, 

 

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.  

 

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?

 

 

Thanks in advance,

nathan

 

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: JDBC4 and JDK 1.6
@ 2010-11-10 00:21  Kris Jurka <books@ejurka.com>
  parent: Nathan Sullins <nsullins@mynewplace.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Kris Jurka @ 2010-11-10 00:21 UTC (permalink / raw)
  To: Nathan Sullins <nsullins@mynewplace.com>; +Cc: pgsql-jdbc; Stephen Ripley <SRipley@mynewplace.com>



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


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: JDBC4 and JDK 1.6
@ 2010-11-10 17:07  Stephen Ripley <sripley@mynewplace.com>
  parent: Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Stephen Ripley @ 2010-11-10 17:07 UTC (permalink / raw)
  To: Kris Jurka <books@ejurka.com>; Nathan Sullins <nsullins@mynewplace.com>; +Cc: pgsql-jdbc

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" <books@ejurka.com> 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





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-11-10 17:07 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-09 23:26 JDBC4 and JDK 1.6 Nathan Sullins <nsullins@mynewplace.com>
2010-11-10 00:21 ` Kris Jurka <books@ejurka.com>
2010-11-10 17:07   ` Stephen Ripley <sripley@mynewplace.com>

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