Using nHibernate 3.x with Jet driver (Microsoft Access) - nhibernate

I'm working on an nHibernate project that uses an Access Database as the datasource (unfortunately). I'm having issues getting it working because I can't find a Jet driver that supports nHibernate 3.x.
I've downloaded the source from the trunk and compiled it, but it turns out it is still for nHibernate 2.x. Are there any ideas on where to find a new version, or how to get the older one to work with nHibernate 3.x?

Did you try to rebuild NHibernate.JetDriver agains NHibernate 3 or just use this?

Related

CockroachDB and Microsoft Entity Framework

Does CockroachDB work with Microsoft Entity Framework? If not which ORM would work?
Yes, it should work with an external driver and we suggest using http://www.npgsql.org/.
Specifically their Entity Framework nuget package:
https://www.nuget.org/packages/EntityFramework6.Npgsql/
If you encounter any issues, please open issue on either
https://github.com/npgsql/npgsql or https://github.com/cockroachdb/cockroach

Where to get latest fluent nhibernate binary

Where to find binary for fluent nhibernate. This page is changed now http://www.fluentnhibernate.org/ and i can't find any binary in it.
Is fluent nhibernate still alive and where can i get binary code?
You can dowload it with nuget.
http://nuget.org/packages/FluentNHibernate/1.3.0.717
You can download the latest Fluent NHibernate package if you are using NuGet and this is compatible with the latest version of NHibernate (3.3.0.4000). If you aren't using NuGet I highly recommend it.

Upgraded to latest NHibernate and FNH - now get SQLite exception "Callback routine requested an abort..."

I'm trying to upgrade my WinForms app to the latest versions of NHibernate and Fluent NHibernate, but now I get the SQLite exception "Callback routine requested an abort" on the call to BuildSessionFactory.
I have a working sample project that uses the new versions. I attempted to upgrade my real app by replacing the old NHibernate, FluentNHibernate, and System.Data.SQLite references with the new ones, but that caused the problem.
New versions I'm using:
NHibernate 3.2.0.4000
FluentNHibernate 1.3.0.0
System.Data.SQLite 1.0.76.0
VS 2008 9.0.30729.1 SP
Windows XP SP3 (32 bit)
I eventually traced the problem to having the wrong type of System.Data.SqLite DLL.
Turns out they've added a new version that is not a single DLL deployment - it has dependencies on other DLLs.
This is not clearly explained on the SQLite download page. Also, they use exactly the same names and version numbers, which led to me downloading the wrong one.
Problem went away when I downloaded and referenced the "mixed-mode" assembly.
See my answer to the question New SQLite Mixed Assemblies for more details on how to get the "right" one.

Fluent NHibernate Upgrade to NH3.0 alpha

Hy
We want to use the latest alpha version of NHibernate. Unfortunately the latest fluent nhibernate release is built for 2.1 GA. When do you plan to upgrade to latest NH? Is there a source tree which I can fork to build the latest version from?
Daniel
You can get it using NuGet.
You could try to download their latest binaries from Git here and build against NH3 assemblies (it includes a project file where you would just need to update references from 2.1 to 3).. but probably they already did that in "Unstable/future binaries".
Get the latest source code for fluent nhibernate and change the references from 2.1.2 to 3.0 and recompile the fluent nhibernate code.
You also can put AssemblyRedirect and use Fluent with latest Nhibernate. Fluent generates XML mappings, so everything should be fine.

NHibernate Version conflicts

Do I need to create my own build of nHibernate and tools if i want to use the following frameworks in 1 project.
nHibernate
nHibernate Validators
Fluent NHibernate
xVal NHibernate Provider
nHibernate Linq
I am getting "Could not load file or assembly 'NHibernate," errors which I believe is because each framework is built against a different version of nHibernate?
Downloaded 2.0 versions of everything solved this.
Silly me!