Well, I have a little problem. Joda Time (the main project) when it
puts "infinite future" dates, the year is something like 276000000,
and postgres only accepts up to year 5000000. The solution I made is
to "truncate" the year so it doesn't exceeds the one the DBMS can
handle.
I've hard coded this in a jar I made for private use, but i don't know
if hibernate (specifically the dialect) has something like MAX-DATE,
so it's not hardcoded.
I also don't know if anyone has experienced the same.


Miguel Ruiz Velasco Sobrino

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to