-->
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: NHibernate with csla - inheretance & proxies problem
PostPosted: Mon Jun 19, 2006 2:17 pm 
Newbie

Joined: Mon Jun 19, 2006 2:09 pm
Posts: 4
1.2-alpha1

I am trying to use NHibernate as a presistance layer with CSLA.
I am trying to inheret the CSLA BussinessBase<> class to make the NHibernate class and mapping the public properties using the NHibernate attributes, But Unfortunately NHibernate uses proxies which need all of the class's properties and methods to be virtual but of course there are some non-virtual methods in BussinessBase.
I can overcome this problem but if i close the lazy-loading which i don't want to do i need lazy loading.
Is there is any way to overcome this problem,And if there is a way to close the reflection for inheretance tree in NHibernate so it uses only the concrete BO class.


Thanks


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.