Joda Hibernate - Illegal instant due to time zone offset transition

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Joda Hibernate - Illegal instant due to time zone offset transition

ihb1980

Hello,

I am using joda-time-2.0, joda-hibernate-1.2, Hibernate-3.0. My server application is running in time zone “Europe/Berlin”.

When I try to persist “2011-03-27 02:15:00.000” (Which does not exist in Europe/Berlin time zone) coming from client which is in time zone “GMT”, I get following exception: “Illegal instant due to time zone offset transition: 2011-03-27T01:15:00.000”.

I am using “PersistentLocalDateTime” in my hibernate mappings.

I have to persist the “2011-03-27 02:15:00.000” as it is.

 

Is there any suggestion or solution of this problem?

Thanks,

Imtiaz Haider Butt.

 

 

----

M. Sc.

Imtiaz Haider Butt

Junior Consultant

 

Phone: +49 (700) 5280 5280

Mobile: +49 (170) 7998685
Fax:    +49 (700) 5280 5290
Email:  [hidden email]
Web:    www.novatec-gmbh.de

NovaTec - Ingenieure für neue Informationstechnologien GmbH
Dieselstrasse 18/1 - D-70771 Leinfelden-Echterdingen

Sitz der Gesellschaft: Waldenbuch
Handelsregister:       Stuttgart - HRB 244435
Geschäftsführer:       Hans-Dieter Brenner - Michael Schuchart - Albrecht Stäbler

 

 


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the
BlackBerry® mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry® DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Joda-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/joda-interest
Loading...