-->
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.  [ 3 posts ] 
Author Message
 Post subject: NHibernate 3.0 and Microsoft Access with NHibernate JetDrive
PostPosted: Thu Dec 23, 2010 8:34 am 
Beginner
Beginner

Joined: Sat Dec 09, 2006 12:02 pm
Posts: 26
Hi,

i have a project with NHibernate and an Microsoft Access DB. I use the NHibernate JetDriver.dll and it works fine. Now i want to switch to NHibernate 3.0, but just changining the assemblies is not working. I think the problem is, that the JetDriver.dll needs the old NHibernate 2.0 dll. I get an TypeLoadException that sais can not find NHibernate.dll Version 2.1.2.4.

Do i have to do other things than just changing the assemblies? Where can i get a new JetDriver dll? Or is this a total other problem?

By the way. I also use Fluent NHibernate. Maybe that could cause this problem too?

Nico


Top
 Profile  
 
 Post subject: Re: NHibernate 3.0 and Microsoft Access with NHibernate JetDrive
PostPosted: Thu Dec 23, 2010 1:53 pm 
Beginner
Beginner

Joined: Sat Dec 09, 2006 12:02 pm
Posts: 26
Ok. I downloaded the JetDriver Source code, replaced the old assemblies with the new ones and compiled everything. so i could solve the problem with the loadexception. Now i get a NotSupportedException while i build my sessionfactory. Does anybody know why???


Top
 Profile  
 
 Post subject: Re: NHibernate 3.0 and Microsoft Access with NHibernate JetDrive
PostPosted: Wed Jan 05, 2011 2:10 am 
Newbie

Joined: Wed May 31, 2006 7:47 am
Posts: 6
You may want to use Reflector to track down your version and enter in assembly redirects. I am using nhibernate 3.0 with nhcontrib and recompiled for net 3.5 using nant -t:net-3.5. Some assembly redirects were still needed for a few things. But it runs fine and I have it starting up under spring.net.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

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.