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: Stop update inside Interceptor.onFlushDirty
PostPosted: Mon Jun 06, 2005 2:13 am 
Newbie

Joined: Thu Jun 02, 2005 5:45 am
Posts: 2
Location: Shanghai, China
Is it possible to stop an update inside an Interceptor.onFlushDirty call?


I would like to use this to method to detect dirty objects, but I need to do
some processing on these objects before the changes are committed(I really
want to persist the objects using a brand new ID, instead of overwriting the old version)

As far as I know there is no way to ask Hibernate whether a specific object is
dirty or not...but I don't understand why this feature has been rejected by
the implementors.


Thanks,
Jacob


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.