-->
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: Unexpected behavior when updating persistent collection...
PostPosted: Wed May 31, 2006 8:34 pm 
Newbie

Joined: Wed May 31, 2006 8:16 pm
Posts: 1
I am currently using Hibernate-Version: 3.0.5 in a project that makes heavy use of the Interceptor to generate events related the creation and modification of our business objects.

It's my understanding that modfications made to the contents of a persistent collection are viewed from a life-cycle perspective as modifications to the object that owns the collection. So if I add to, remove from a persistent collection, or change the collection reference in the owning object, I should get a notification via onFlushDirty in the Interceptor, correct?

Currently, onFlushDirty() is not being called on the session's interceptor when the contents of persistent collections are modified.

There are a couple of other topics related to this issue that don't seem to be getting a lot of attention. This is an important issue for the project I am involved in and it would be helpful if any misunderstandings that I might have in this area could be cleared up.

Am I missing something in my understanding of the way that Hibernate handles/views associations here. Is this a bug and if so, has it been/will it be fixed?

Thanks in advance.


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.