-->
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: TimeZone related Issue
PostPosted: Wed Oct 11, 2006 8:50 am 
Newbie

Joined: Thu Aug 17, 2006 1:33 am
Posts: 3
Location: India
Hi All,

I need help in mantianing timezone in my application. We have to display the information with respect to user time zone stored in app_user table. We have userTimezone field in user table. Depending upon this value, we have to convert all date field exist in other into their respective time zone. For example, same event can be viewed by many users belong to different timezone. I have to convert event time according to their timezone.
We have 2 layer
1.Bean(business logic)
2.DataBuilderServer(DAO)
At bean level, I had written the logic to convert event time into their respective timezone but while lazy loading like fetching topics from forum which have topics as set in hibernate file. How I can set date field in this case. Is there any way we can handle timezone at Data layer or hibernate mapping file.

DB : My SQL
Technology: Spring and Hibernate.
How I can fullfill this requirement.
Thanks in Advance

Regards
Chauhan


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.