-->
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 Problem with Namespaces
PostPosted: Wed May 23, 2007 9:12 am 
Newbie

Joined: Wed May 23, 2007 8:35 am
Posts: 2
Hibernate version: 1.2.0 GA

I have a problem with embedded Firebird and NHibernate.
The configuration of NHibernate is properly but there appears an exception
if i want to create a sessionfactory.

(Exception: NHibernate.HibernateException: Could not create the driver from NHibernate.Driver.FirebirdDriver.)

I found out (debugging the NHibernate sources), that the firebird driver namespace is not known. And so it is not possible to create the specified firebird connection and command from the reflection type of the firebird driver.
I found a solution to this topic but it dont works properly.
The solution is to add following tags to the configuration:

<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<qualifyAssembly partialName="FirebirdSql.Data.FirebirdClient"
fullName="FirebirdSql.Data.FirebirdClient, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=3750abcc3150b00c" />
</assemblyBinding>
</runtime>

link: http://forums.devshed.com/firebird-sql- ... ebird-nhib
ernate-net-2-0t-374363.html

As i said is the problem of the unknown namespace of the .Net firebird driver. I tried this too with the embedded MS SQL Server Compact. But its allways the same problem. Maybe some of you know an easy solution for me. I would be glad.

Regards
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.