db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thornton <mthorn...@optrak.co.uk>
Subject Re: Date 2042-10-12 problem using Brasilia time zone
Date Fri, 31 Oct 2008 14:31:18 GMT
Thomas Mueller wrote:
> What I plan to do in my database engine is to set the time to 12:00:00
> (midday). Unfortunately this breaks a few things, like equality of
> java.sql.Date that are returned by H2 and dates that are created by
> java.sql.Date.valueOf, but I don't know how to solve the problem
> otherwise (short term). Long term, an option might be to fix the
> problem in java.sql.Date.
>   

The long term solution is probably jsr310 which replaces all the 
date/time classes with something more rational.

Mark Thornton

Mime
View raw message