-
1. Re: GetReference vs find audit difference?
joeschem Feb 23, 2009 2:33 PM (in response to joeschem)Sorry, I forgot some key version information:
hibernate-envers-3.4.0-SNAPSHOT.jar
2009-02-23 09:48:02,630 INFO org.hibernate.cfg.annotations.Version:154 - Hibernate Annotations 3.4.0.GA
2009-02-23 09:48:02,646 INFO org.hibernate.cfg.Environment:146 - Hibernate 3.3.1.GA
2009-02-23 09:48:02,724 INFO org.hibernate.annotations.common.Version:154 - Hibernate Commons Annotations 3.1.0.GA
2009-02-23 09:48:02,724 INFO org.hibernate.ejb.Version:154 - Hibernate EntityManager 3.4.0.GA -
2. Re: GetReference vs find audit difference?
adamw Mar 2, 2009 8:26 AM (in response to joeschem)Hello,
this looks like a bug - can you please file a JIRA bug report?
Thanks,
Adam -
3. Re: GetReference vs find audit difference?
joeschem Mar 2, 2009 10:32 AM (in response to joeschem)Thanks
I filed a JIRA bug report, ENVERS-69.
If anything else is needed, please let me know. -
4. Re: GetReference vs find audit difference?
adamw Mar 2, 2009 10:59 AM (in response to joeschem)This is the old JIRA, from the times Envers was a Hibernate project. Where did you find the link? It needs to be removed :)
Currently Envers issues are in the Hibernate JIRA:
http://opensource.atlassian.com/projects/hibernate/secure/BrowseProject.jspa
When creating an issue be sure to choose "Envers" component.
--
Adam -
5. Re: GetReference vs find audit difference?
adamw Mar 2, 2009 2:29 PM (in response to joeschem)Hello,
I tried to reproduce the issue but can't. Maybe you can create a failing testcase and attach it to the JIRA bug?
To reproduce, I created two entities in a many-to-one relation, persisted the one-side entity. Then, using another entity manager I create the many-side entity, and set the related one using the object returned from getReference(). And everything is stored as it should.
Adam -
6. Re: GetReference vs find audit difference?
joeschem Mar 2, 2009 4:31 PM (in response to joeschem)Hello
>This is the old JIRA, from the times Envers was a Hibernate project. >Where did you find the link? It needs to be removed :)
I believe I just hit the link on the forum page and then Envers was the third project on the page?
I will work on a failing test case and attach it to the case.
Thanks -
7. Re: GetReference vs find audit difference?
joeschem Mar 2, 2009 6:38 PM (in response to joeschem)Hello
I attached a test case to the JIRA. Let me know if that works for you, or if there is anything else I can do.
Thanks -
8. Re: GetReference vs find audit difference?
joeschem Mar 6, 2009 9:15 AM (in response to joeschem)Hello
I just tested my test case against the 1.2.0 GA and it is resolved. Works fine in both the getReference and find object retrieval processes.
Thanks for the great work.