-->
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: onFlushDirty() in Interceptor not triggering consistently
PostPosted: Tue May 24, 2005 7:19 pm 
Newbie

Joined: Tue May 24, 2005 7:08 pm
Posts: 17
Location: Melbourne
Hibernate version:3.0.4

I've implemented Audit logging in hibernate using a combination of various examples i've found. I've noticed that the onFlushDirty() method is not triggered when an object with changes being persisted also contains related persistent objects. Ie, a user with associated roles. It will trigger fine if the user has no roles assigned but not if the user has roles assigned.

Is this expected behaviour ?

I have not included any code as i'm not sure that it will be of benefit yet. If there's any more information I can provide please let me know.

My application also uses Spring 1.2.

many thanks,
rob


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.