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: AfterLoad Event
PostPosted: Thu May 21, 2009 4:51 am 
Newbie

Joined: Thu May 21, 2009 4:44 am
Posts: 1
Hi,

I am looking for an NHibernate/ActiveRecord afterload event to
complement the onLoad event.
The use case is I have some processing I want to do if the object is
changed after load but not during loading from the database. for
example a tax calculation that should only be carried out when the
amount changes, but the calculated amount can be overriden by the
user. The calculation is done via the propertychanged event which
fires during load. So if I have a before and after load event, I can
set a flag to only calc before(eg.new object)/after load but not
during. If someone can give me a point in the right direction that
would be great.

Thank You,
Gerdus


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.