Which version of NHibernate should I use

46 views
Skip to first unread message

Tim Robinson

unread,
Feb 27, 2012, 7:04:52 AM2/27/12
to Fluent NHibernate
Hi,

I've just started using Fluent NHiberate and I'm a but unsure as to
which version of NHiberate I should use.

I found this page on the wik ihttp://wiki.fluentnhibernate.org/Supported_NHiberate_versions
which seems pretty unequivocal and says that the latest GA of
NHiberate is supported, but on the Fluent NHiberate download site it
says "for NHibernate 3.1" whereas the latest NHibernate GA is 3.2 and
has been so for 6 months.

can anyone shed some light on which is correct please?

tbushell

unread,
Feb 28, 2012, 10:24:31 AM2/28/12
to Fluent NHibernate
I'd suggest staying with the FNH version that works with NH 3.1 (FNH
1.2, IIRC).

NH 3.2 seems to have introduced a lot of breaking changes, and FNH has
not really caught up yet.

-Tom Bushell

Geoff Bennett

unread,
Feb 27, 2012, 11:11:12 PM2/27/12
to fluent-n...@googlegroups.com
Hi Tim,

I'm using Fluent NHibernate 1.2.0.712 with NHibernate 3.2.0.4000 with no problems.

Geoff.
--
You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group.
To post to this group, send email to fluent-n...@googlegroups.com.
To unsubscribe from this group, send email to fluent-nhibern...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/fluent-nhibernate?hl=en.

Keith Nicholas

unread,
Mar 8, 2012, 9:29:27 PM3/8/12
to fluent-n...@googlegroups.com
I just got the source code for Fluent NHibernate from the repository  and compiled it against 3.2

which is super easy to do....

Simon Dingley

unread,
Mar 9, 2012, 1:32:58 AM3/9/12
to fluent-n...@googlegroups.com
I am new to both also, I think the versioning in the repository is a little confusing as there is no tag for 1.3.0.717 which is what you get if you install the nuget package. I am currently working with FNH 1.3.0.717 and NH 3.2.0.4000 via Nuget and it is all working fine for me so far.

Simon

tbushell

unread,
Mar 9, 2012, 10:31:03 AM3/9/12
to fluent-n...@googlegroups.com
Glad to hear that several people are working with the latest versions without problems.

In my case, I tried to migrate a working application directly from FNH 1.0 to 1.3, and it broke horribly.

 Main problems I ran into:

- a bug in FNH that failed to automap deeper levels of inheritance (issue #113, patch submitted, but not merged yet)

- a breaking change with the NH 3.2 byte code provider that now requires all properties to have a "set" method (I have dozens of get-only properties in my object model)

Even after resolving these problems, I found my collections were not being hydrated properly any more, so I rolled back to FNH 1.0.

-Tom
Reply all
Reply to author
Forward
0 new messages