-->
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.  [ 4 posts ] 
Author Message
 Post subject: Confirm Bug: DefaultFlushEntityEventListener.onFlushEntity
PostPosted: Mon May 23, 2005 11:44 am 
Newbie

Joined: Fri May 20, 2005 12:39 pm
Posts: 10
Would someone be able to confirm that the following is a bug or not?

The onFlushDirty() method of my Interceptor was not being invoked even though an update was scheduled and performed. Looking through the onFlushEntity() method I found the following bit of code...

Code:
if ( !entry.isBeingReplicated() ) {
   //if the properties were modified by the Interceptor, we need to set them back to the object
   substitute = substitute || invokeInterceptor(event);
}


Shouldn't invokeInterceptor() always be invoked regardless of the valule of substitute?


Thanks for your patience,
Tim Kuntz

Hibernate version: 3.0.3


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 3:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
fixed in cvs


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 3:38 pm 
Newbie

Joined: Fri May 20, 2005 12:39 pm
Posts: 10
Thanks.

BTW - Congrats to you and Christian on HiA. It's one of the finest tech books I have read.

tim


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 23, 2005 4:03 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
thanks! :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

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.