I'm trying to convert my project from vs.net 2005 to 2010. My project uses 
NHibernate 1.x dll and it has been running fine 2005 compiled version. 
However, when I convert to 2010, HQL failed to return internal subclass / 
mapping class object values. I googled around on the web and found 2.x 
Nhibernate dlls. 
 
Currently, my project is referenced to below dlls.
NHibernate Jet driver dll      1.2.0.4000
Castle.DynamicProxy dll    1.1.5.0
Iesi.Collections  dll             1.2.0.4000
log4net dll                          1.2.10.0
I replaced my project dlls with below dlls along with some additional dlls. 
Because I didn't any article on how to upgrade from NHibaernate 1.x to some 
NHibernate x version. I try to play around with the info that I found on 
the web.
 
NHibernate Jet driver dll: 
http://coderead.wordpress.com/2010/10/20/nhibernate-jet-driver/
 
NHibernate dll - 2.1.0.4000
NHibernate.ByteCode.Castle dll  2.1.0.4000
Iesi.Collections dll 2.1.0.4000
Castle.DynamicProxy2 dll   2.1.0.0
Castle.DynamicProxy dll     1.1.5.0
Castle.Core dll                   2.5.0.
Antlr3.Runtime                   3.1.0
 
Once after adding reference to above dlls and compiled okay with little 
changes in the code. However, I have an issues when switch database 
profile, also some of the objects retuning null. I'm wondering, whether the 
upgrade has done is correct or not. Because I have to add additional dlls 
like antlr runtime, dynmic proxy2, and castle core etc. 
 
I know for sure, lot of them been through this process and they are 
NHibernate expers in this forum. I appreciate if anybody direct me to right 
path. 
 
 
Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/nhusers/-/9TC7bSQpEbEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to