Issue Type: Bug Bug
Affects Versions: 4.2.3
Assignee: Unassigned
Attachments: hibernate.example.date.7z.001, hibernate.example.date.7z.002
Created: 08/Jul/13 12:17 AM
Description:

I'm storing a java.util.Date value and after reading it again it is two days behind. Looking into the database the value is correct, it must be the reading part which messes up the date.
I attached a test case which demonstrates the issue, getting the following outputs:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> modifyDate before merge: Mon Jul 08 08:59:52 CEST 2013 time: 1373266792615
>>>>>>>>>>>>>>>>>>>>>>>>>>>> modifyDate after reading: 2013-07-06 08:59:52.615 time: 1373093992615

Environment: mssql2008 R2
Project: Hibernate ORM
Priority: Major Major
Reporter: Flavio Donzé
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira