What versions of firebird are supported by nHibernate? - fluent-nhibernate

I would like to use fluent-nHibernate for different databases of firebird with different versions. I found some information on the jboss website but nothing at http://nhibernate.info/
Which versions are supported and where do i find things like this?

Since fluent-nHibernate sits on top of nHibernate you only need this one to support Firebird. If you check the source for the fluent-nHibernate Firebird configuration you will see there is no reference to any Firebird version.
Said this, according to this link at jBoss, Firebird is supported since version 1.5.3, though version 2.1 is strongly recommended in nHibernate. The same link gives also advice on how to configure your application.
This link also says you should always try to use the latest Firebird .NET provider, which you can download from Firebird's webpage.
Finally, you can find more information on the difference between nHibernate and fluent-nHibernate can be found in this SO question.

Related

Is there a better implementation for SybaseDialect in Version 3.0 of NHibernate?

We have upgraded to NHibernate 3.0 with Fluent-NHibernate.
In version 2.1.2 we where able to use the SybaseDialect for ASE 12. In version 3.0 SybaseDialect for ASE 12 is not supported.
I reused the old Dialect from Nhib 2.1.2 and all is working.
What I wanted to ask since this one was removed as it was considered not a good implementation, is there a better one out there?
Since it's working I am not sure what improvements need be made but I thought I would ask.
This blog post has the scoop. Haven't tried upgrading so can't comment if the version 2.1.2 Sybase dialect with NHibernate 3.0 will perform any differently than using it with the NHibernate 2.1.2 version.
I took the Dialect class from NHibernate v2.1.2 and created a SybaseDialect.cs and then in the Config file I reference it, this seems to work fine.

Interoperable Fluent NHibernate + NHibernate + Linq To NHibernate

I would like to get all 3 of these libraries working together but have a version problem.
Latest version of Linq To Hibernate (1.0) came out on 2009-07-26 and works with NHibernate 2.1.0 afaik. Fluent NHibernate's oldest release on the other hand is for NHibernate 2.1.2.
Google search yielded this zip file of binaries compiled together but it's somewhat outdated (2009-07-19). I'm not sure downloading the latest source code of each project and trying to build them together will work or not, I'd rather not to go that way unless I have to.
I guess the weakest link in this combination is Linq To NHibernate and maybe I should think of leaving it outside if there isn't an active community effort.
In short: Does anyone use these libraries together and if so, how did you solve this issue? Do you build it all yourself?
Note:
Looks like a duplicate of this question but it has been 1 year since it's answered, and the links given in the accepted answer don't work anymore.
NHibernate ver 3 has been released which already has the linq libraries. Download the latest binaries.
I don't think Fluent has been updated to use 3 yet so download the latest source for fluent and replace the NHibernate assemblies with the new NHibernate version 3 assemblies. You will need to tweak the source ever so slightly so that it compiles. Compile it in release mode and grab the output from the project bin folder.
It has been working fine for us.
EDIT
As Kohan pointed out you can download the latest version of Fluent 1.2 with the latest version of NHibernate 3 from the link to Fluent NHibernate I provided earlier.

Where to find NHibernate Jet driver

I don't know if it's just me, but I just can't seem to find the NHibernate Jet driver anywhere.
I have not yet looked into the source, but looking at the main project files or the NH Contrib files, did not give me any results.
Enough time wasted, who can show me the way?
Thanks!
You can find more information about configuring NHibernate to work with MS Access in this post from my blog: NHibernate and MS Access - it's simple, but...
You can get the Jet Driver on NuGet now:
PM> Install-Package NHibernate.JetDriver
It seems to work out the versions automatically.
It is in NH Contrib, you must have missed it. It's called NHibernate.JetDriver
here is the svn url, you can check out the entire source and compile the newest dll
https://nhcontrib.svn.sourceforge.net/svnroot/nhcontrib/trunk/src/NHibernate.JetDriver

NHibernate Current Version

What is the current "production ready" version of NHibernate? I get conflicting answers on the hibernate site vs some other posts. Is it 2 or 2.1?? If it's 2.1 where do I get that binary?
The latest production version of NHibernate is 2.1. However there was a large change in 2.1 that is probably preventing people from making the jump right away. Maybe that is why you are getting conflicting answers.
You can always get the latest version from nhibernate.info
Details about the removal of the proxy framework here
Don't forget to grab yourself a copy of NHibernate Linq while you are at it
2.1
http://sourceforge.net/projects/nhibernate/files/
NHibernate-2.1.0.GA

LinFu version in NHibernate 2.1

I'm migrating the data layer of our application to NH version 2.1.0 (from 2.0.1) and noticed the use of LinFu. I discovered that framework and want to use it in other pieces of the application, especially I want to use the LinFu.Reflection.dll, which requires a reference to LinFu.DynamicProxy and here comes the trouble, the 1.0 final version of LinFu that I can find on google.code is not the same version used by NHibernate itself. Do I need to rebuild NHibernate.ByteCode.LinFu.dll changing the reference to the available version? If not, what else?
I have faced the same problem a few days ago. There's a tool named ILMERGE that merges .NET DLL-files, and that way you should be able to have several versions of the same DLL in your application.
Unfortunately I haven't tested the tool yet, I didn't get around to it, but I'll test in the next week.
But Rhino Mocks for example, has a binary with all dependencies included: http://ayende.com/projects/rhino-mocks/downloads.aspx, so it seems doable.