Using Envers with MS SQL Server leads to hang-up in some cases.
---------------------------------------------------------------
Key: HHH-5723
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5723
Project: Hibernate Core
Issue Type: Bug
Components: envers
Environment: Hibernate 3.3.2.GA, MS SQL Server
Reporter: Dmitry Fursevich
Attachments: testcase.zip
The problem appears when we save a new object which fields are set with non initialized
objects (proxies).
Prior to save the new object, non initialized objects should have been updated in the same
transaction, and then the session should have been flushed and evicted.
As result envers tries to initialize non initialized objects in transaction which differs
from current, which leads to hang-up.
As workaround it's possible to use eager fetching for associations.
Test case is attached to this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira