-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Saving Calendar type changed behavior in 3.6.x
PostPosted: Thu Aug 25, 2011 12:05 pm 
Newbie

Joined: Fri May 12, 2006 6:53 pm
Posts: 1
Hi, I have just recently upgraded from 3.5.x to 3.6.x. However, the behavior of saving of a Calendar object is very different.

In 3.5.x, the time saved to the database is in the timezone of the Calendar object. In 3.6.x, the time saved to the database is always the time converted to the timezone where I run my process.

For example, I create a Calendar object in the GMT timezone set at 7pm. In 3.5.x, the time saved to database is 7pm. However, in 3.6.x, the time saved to the database is 2pm, if I run the process in eastern timezone. It would be 1pm, if I run the process in central timezone.

Does anyone know if this behavior is done intentionally? Is there annotation that I can use to get the old behavior back?

Many thanks in advance.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.