This content has been marked as final.
Show 1 reply
-
1. Re: Hibernate Envers: Initializing ListProxy of related objects
piskantali Apr 5, 2015 6:24 AM (in response to piskantali)The problem was the following: I started auditing of entities when there already were users and usergroups in the database. Let's say I was modifying some user's groups. This modification caused in addition of corresponding rows in
User_AUDandUser_UserGroup_AUDtables, butUserGroup_AUDtable was still empty. Later when I was querying for revisions ofUserentity, it wasn't able to find relatedUserGroupentities since there was no record inUserGroup_AUDtable about those user groups.