]
Jim O'Callaghan commented on HHH-5343:
--------------------------------------
Thanks for the feedback Erik-Bernt. I'm not familiar with the .patch approach, testng
or the Hibernate Envers testsuite. If I repackaged the standalone test case to run
against the Envers SVN trunk would that be sufficient? Otherwise it will take some time
for me to familiarise.
Issue with lazy loading of composite key for 1:1 entity
relationships
---------------------------------------------------------------------
Key: HHH-5343
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5343
Project: Hibernate Core
Issue Type: Bug
Components: envers
Affects Versions: 3.5.1
Environment: hibernate-envers 3.5.1-Final, MySQL
Reporter: Jim O'Callaghan
Assignee: Adam Warski
This issue was originally raised against envers 1.2.2.GA-hibernate-3.3, hibernate-core
3.3.1.GA, under the previous Envers JIRA at
https://jira.jboss.org/browse/ENVERS-77 - a
test case is attached to that Issue. The problem is related to lazily loaded 1:1 entity
relations using a composite key, where the Envers proxy for a key does not appear to load
the key before persisting the containing entity, resulting in a problem when loading the
contained entity back from the audit table. The issue appears to still be present in
hibernate-envers 3.5.1-Final. Is there a known-workaround aprat from setting the
contained entity to be eager loaded?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: