-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Hibernate Audit Trail not generating for dirty collections
PostPosted: Thu Jan 07, 2010 8:55 am 
Newbie

Joined: Thu Jan 07, 2010 8:30 am
Posts: 1
Hi,
I have a parent collection say employee and it has a collection of addresses. When i update one address or add a new address the employee object is not getting dirty and the isFlushDirty() of the auditing is not getting invoked and the audit properties are not getting generated.

But when i explicitly change a property on employee before auditing, the collections auditing is also getting generated.

So to do updated collections auditing i have to do a fake audit on employee over here.

I have tried other ways like, clearing the session but it is not serving the purpose.

Any thoughts on how this can be done without the fake change to trigger audit.

thanks,
Siri


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.