Free Neubernath and hbms

As an FNH user, will you find that sometimes you need to supplement the FNH with an hbm file? Are there any relatively common cases where you do, if so?

Cheers,
Berryl

+2


a source to share


3 answers


  • When a bug in Fluent NHibernate prohibits something. There are fewer bugs in each release, but you may find them eventually (the most recent being the inability to match dictionaries when certain auto-matching conventions exist)

  • If you have a legacy system (mapped using hbms) for which you need to add new domain objects (mapped using fnh and / or car).



+1


a source


If you need to use named queries, you will need to use an hbm file, and you are probably using a named query to call a stored procedure, be it because you have legacy stored procedures to call, perhaps performance, or in mine the latest case to do a full text search. More details on setting this can be found here and here .



+2


a source


I am using FNH Automapping for my (so far only) NHibernate project.

I first had to write a couple of FNH overrides to work around the errors. But the bugs were quickly fixed by the FNH team and I was able to eliminate overrides entirely.

Never had to deal with HBM files, and I hope so!

0


a source







All Articles