Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 4th, 2006, 04:51 PM
the-me the-me is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 the-me User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 26 sec
Reputation Power: 0
Question Embedded Firebird & NHibernate & .NET 2.0

Hi all,

this might be off-topic, but has anyone tried (or better: succeeded to get embedded firebird up and running with the RC .NET 2.0 connector and hibernate?

I always get the error message "could not create fbconnection" from hibernate, in version 1.0 as well as in version 1.2.

I have searched about 105% of the internet, but I did not find _any_ useful documentation about Firebird and Hibernate, not to speak of nhibernate with the newest FB version and NHibernate 1.2alpha ... :-)


thanks for all hints in advance!

Reply With Quote
  #2  
Old August 16th, 2006, 12:44 PM
keithmcgill keithmcgill is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level)keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level)keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 16 m
Reputation Power: 0
Quote:
Originally Posted by the-me
Hi all,

this might be off-topic, but has anyone tried (or better: succeeded to get embedded firebird up and running with the RC .NET 2.0 connector and hibernate?

I always get the error message "could not create fbconnection" from hibernate, in version 1.0 as well as in version 1.2.

I have searched about 105% of the internet, but I did not find _any_ useful documentation about Firebird and Hibernate, not to speak of nhibernate with the newest FB version and NHibernate 1.2alpha ... :-)


thanks for all hints in advance!


Just wondering if you got this to work. I am getting a "Could not create the driver from NHibernate.Driver.FirebirdDriver" error when calling BuildSessionFactory with an embedded Firebird configuration. Any guidance would be appreciated.

thanks!

Reply With Quote
  #3  
Old August 17th, 2006, 01:14 PM
keithmcgill keithmcgill is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level)keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level)keithmcgill User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 16 m
Reputation Power: 0
Quote:
Originally Posted by keithmcgill
Just wondering if you got this to work. I am getting a "Could not create the driver from NHibernate.Driver.FirebirdDriver" error when calling BuildSessionFactory with an embedded Firebird configuration. Any guidance would be appreciated.

thanks!


I found a solution to this issue.

Adding the following to the application config file does the trick:

<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>
Comments on this post
pabloj agrees: Thanks for posting the solution

Reply With Quote
  #4  
Old August 18th, 2006, 03:54 AM
the-me the-me is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2006
Posts: 2 the-me User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 m 26 sec
Reputation Power: 0
cool. I'll try that as soon as I get back to my project - just came back from some days in paris :-) .
thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Embedded Firebird & NHibernate & .NET 2.0


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT