-->
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.  [ 3 posts ] 
Author Message
 Post subject: A question about onUpdate
PostPosted: Tue Sep 09, 2003 4:36 am 
Newbie

Joined: Mon Sep 08, 2003 12:51 am
Posts: 19
Dear all,

I wonder that the boolean result the LifeCycle-onUpdate-method returns would cancel the whole cascading process.

If so, could I continue the update cascading process and only save dirty objects?

Best regards,

Jun Huang


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2003 5:43 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
No, it cancels the whole process.


You can do your own dirty checking in Interceptor.findDirty(), if you like,


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 09, 2003 6:16 am 
Newbie

Joined: Mon Sep 08, 2003 12:51 am
Posts: 19
Thanks!

It does work.

:-)

I know I should change my save&update&delete policy soon.

Best regards,

Jun Huang


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.