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: Interceptor: onFlushDirty() multiple call on same entity
PostPosted: Mon Oct 15, 2007 1:32 am 
Newbie

Joined: Mon Oct 15, 2007 1:24 am
Posts: 1
Location: India
Hello,

I'm trying to log each update on set of 35 entities by using onFlushDirty().
Also using onDelete() and onSave() which are working fine. But onFlushDirty() getting executed multiple time (3 to 4 time).

Can anybody please help me find out why?

LifeCycle methods requires implementing in each entity which is really tedious. So can anyone help me figure-out other way to log updates?

Many thanx in advance.

Yagnesh.


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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.