Hi,
We need two machines with different time zone settings to read and write date-time values to a common database. It seems to make sense to store all dates in GMT (UTC) and convert to the local time zone via a UserType. I've read the forum postings and Wiki page on this topic at:
http://www.hibernate.org/100.html
What's still not clear, though, is how the use of a UserType affects parameterized queries that involve java.util.Dates as parameters. Will they work correctly, assuming we set the parameter type to that of the UserType? Is anyone using this approach successfully?
Thanks.