Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Timestamps without time zone

From: Achilleas Mantzios <achill(at)matrix.gatewaynet.com>
Date: Wed Jan 09 2008 - 11:05:24 EST


Στις Wednesday 09 January 2008 17:42:57 ο/η Tom Lane έγραψε:
> Achilleas Mantzios <achill@matrix.gatewaynet.com> writes:
> > Óôéò Wednesday 09 January 2008 15:05:24 ï/ç Oliver Jowett Ýãñáí¯¿
í»¸å:
> >> Ah, there is your problem then. That is a very old driver and had
> >> problems with exactly the case you're trying to use (setTimestamp() with
> >> a Calendar), amongst many other bugs.
> >
> > Just a comment:
> > Why not merge from current changes/bugfixes to the JDBC?
> > I mean 7.4 is old ok, but *officially supported* also!
>
> Back-patching this type of behavioral change would be a seriously bad
> idea, because it would break applications that are expecting the old
> behavior.

That is true indeed, but on the other hand a lot of people write extremely buggy code (and some times intentionally as in my case) in order to deal with those old JDBC drivers bugs. I mean those people would have to face the reality sooner or later when upgrading to 8.x, why not force them to take the action earlier, when, in addition, the new correct behaviour adheres to the JDBC spec, whereas the old one didnt?
>
> regards, tom lane

-- 
Achilleas Mantzios

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               
http://archives.postgresql.org
Received on Wed Jan 9 11:08:23 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:42:30 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library