-->
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.  [ 2 posts ] 
Author Message
 Post subject: Version and Time zone issue
PostPosted: Tue May 17, 2005 11:03 am 
Newbie

Joined: Tue Dec 02, 2003 9:12 am
Posts: 7
I am not using the default timezone. I use Custom TimeZone without day light savings and it is set as the default time zone. Now I have problems while using versions of type Timestamp. I want the value of the version attribute to be of the normal timezone. ie with daylight savings. At the same time there are other datetime attributes in my table that needs value without daylight savings. Can we define CustomType for versioning or is there any other way out?

We are using Hibernate 2 and Sybase.

Thanks in advance,
Jay


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 17, 2005 2:43 pm 
Newbie

Joined: Fri Aug 29, 2003 4:36 am
Posts: 16
Location: Belgium
This is probably not the answer you wanted, but why using the timestamp version? The integer version seems much easier (surely in your situation) and is as far as I know the "preferred" solution.
If you merely want to have a notion of the last update timestamp, the recommandation is to use an Interceptor, which would allow of course your special need.

Bart.


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

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.