-->
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: How to get 'old' state out of a PostCollectionUpdateEvent
PostPosted: Fri Oct 17, 2008 12:57 pm 
Newbie

Joined: Fri Oct 17, 2008 12:45 pm
Posts: 6
Hi,

I'm using hibernate 3.2.6 GA.

Is there a way to get the old state of a collection in case of a PostCollectionUpdateEvent?

The PostUpdateEvent has the methods getOldState() and getState() which allows me to compare the object state before and after an update occurs. But how can i address that for Collection changes? I couldn't find any possibility to find out what was the state before the change happened.

Any ideas?

Regards,

Christian.


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.