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: Why doesn't IInterceptor have something like OnAfterLoad()?
PostPosted: Tue Mar 13, 2007 12:49 pm 
Newbie

Joined: Thu May 04, 2006 2:42 pm
Posts: 10
Location: Columbus, OH
IInterceptor has an OnLoad() method, which gets called before all of the data is shoved into the entity object. I would like something that gets called after after the data is shoved into the entity object.

I found the ILifecycle interface, but the problem with that is that some of the ILifecycle methods return NHibernate enums, which means that now I have to add references to NHibernate throughout most of my application, which I don't really want to do (I don't want people trying to cheat and call data access code from the UI, circumventing the business layer).

Any suggestions?

Jon

_________________
Jon Kruger
http://jonkruger.com/blog


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.