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