hibernate-users
[Prev] Thread [Next] | [Prev] Date [Next]
[hibernate-users] TimestampType converts to localtime? Robert Nicholson Wed Jul 09 04:16:46 2008
So, if the default timezone for my vm is say CSTand I parse a date that's in GMT using a SimpleDateFormat ('z') and get a Date object. That gives me a Date ie. timestamp.
If I want to store that via TimestampType to the database will it store the time in local/default timezone and not GMT?
Do I have to write my own CustomType if I do not wish it to store the time as a local time?
If I want to store the time as UTC do I have to use a Calendar in the user defined type that converts the Date to UTC?
_______________________________________________ hibernate-users mailing list [EMAIL PROTECTED] https://lists.jboss.org/mailman/listinfo/hibernate-users
- [hibernate-users] TimestampType converts to localtime? Robert Nicholson <=