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: Remoting and Lazyloading with NHibernate 2.0 Alpha1
PostPosted: Fri Apr 18, 2008 8:35 am 
Newbie

Joined: Wed May 23, 2007 8:35 am
Posts: 2
Hi folks,

I build a framework that works with .Net Remoting and NHibernate Version 1.2.1 GA.
There is a server that deals with NHibernate and the loaded objects will be transmitted to the client side via the remoting channel.
This works very fine together so i have no reason to change the 1.2.1GA to a higher version.
The problem is lazy loading via remoting. Its not possible with the older version.
I read about the new features of the version 2.0. Now it is possible to inherit the Interceptor of the Castle.DynamicProxy2.
This should be the solution to my problem. But, if i create an object that implements lazyloading to nhibernate
it is not possible to deserialize this object on the client side.
The DynamicProxy2 uses a dynamic assembly and on the client side appears an TargetInvocationException with the argument, it is not possible to load this dynamic assembly.
I found not much about this dynamic assembly which is called "DynamicProxyGenAssembly2".
Has anyone a solution for me, how to make it known on the client side?

Sorry for my bad english.

Thx
KrassNub


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.