-->
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: DefaultPostUpdateEventListener replaced by ??? in 3.1.2
PostPosted: Thu Feb 23, 2006 11:44 am 
Beginner
Beginner

Joined: Fri Jul 08, 2005 8:55 pm
Posts: 37
Hibernate version: 3.1.2 vs 3.0.5

Hi All,

Still using Hibernate 3.0.5 and I am using DefaultPostUpdateEventListener to identify changes in objects updated/merged and create Audit objects.

I used to override:public void onPostUpdate(PostUpdateEvent arg0)..

I am trying to update to Hibernate 3.1.2 and have noticed that the DefaultPostUpdateEventListener is now in the Attic. That is not an issue but, even after reading the latest doc and browsing the forum, I cannot figure out how to achieve this now...

Could someone give me a few pointers? Is there a replacement class? Which listener should I be using to receive some Events after commit?

using the new events, how can I detect field-by-field changes?
and finally, how can I add new objects to the current session?

no ejb3 please.

Many thanks!

Benoit


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.