[hibernate-users] Persisting ejb3 DATETIME in UTC timezone
Marc Siegel
msiegel at leadgenllc.com
Thu Apr 19 14:15:43 EDT 2007
This must be something that everybody implements at some point:
I need to store all my datetimes in the database in UTC format.
For some reason, Hibernate (within JBoss 4.0.5) appears to be taking
by java.util.Date's, which are in UTC, and converting them to local
time before storing in the database.
How do we get around this? I've searched everywhere, read the book, etc.
Thanks for any help,
-Marc
More information about the hibernate-users
mailing list