NHibernate Forge
The official new home for the NHibernate for .NET community

Welcome NH2.1.0

NHibernate 2.1.0GA was released today.

Download it!

After download it please take a look to releasenotes.txt file.

Note: The series NH2.1.x is the last whose target is .NET2.0

The reference manual is available for download.

We can’t release the API doc because its size. To compile API documentation you need to download sources and call : nant api.


Posted jul 19 2009, 10:27 a.m. by Fabio Maulo

Comments

Sanjeev Agarwal wrote Daily tech links for .net and related technologies - July 18-21, 2009
on 07-20-2009 6:11

Daily tech links for .net and related technologies - July 18-21, 2009 Web Development A (less) simple

XOR wrote re: Welcome NH2.1.0
on 07-20-2009 10:59

Fabio, people demand API reference! :) It is really not that easy to build it for the one who have no buildable NHibernate project set up. Just unpacking sources and invoking NAnt doesn't do the trick.

It fails with error:

c:\Program Files\NHibernate\doc\documentation.build:

Error loading buildfile.

   Could not find a part of the path 'c:\Program Files\NHibernate\doc\documentation.build'.

But even if it would build, it is just not right to obscure vital information from masses.

Why is it so hard to publish API reference?

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-20-2009 11:04

as .chm the API reference is 39MB, as site is ~365MB

Dimonina wrote re: Welcome NH2.1.0
on 07-20-2009 11:13

Thank you, guys. It would be great if someone will write a big article "New features in 2.1" with examples. Documentation to Nhibernate is still poor, and Ayende sometimes discovers new things to me in his blog.

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-20-2009 11:21

@Dinominia

Ayende's blog and my blog, and this blog is full of posts about new features in NH2.1.0 and if you look my blog you can even find new features of NH3.0.0

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-20-2009 11:33

@XOR

The "vital" information is available in VS if you copy the NHibernate.xml in the same folder where you have NHibernate.dll

Mark Phillips wrote re: Welcome NH2.1.0
on 07-20-2009 13:27

unable to download either bin or source.  Error Message is that zip is corrupted.  Have tried multiple times.

bunceg wrote re: Welcome NH2.1.0
on 07-20-2009 18:59

Fabio,

True... its all in the blogs and it very interesting. But try finding it again afterwards.

If nothing else, add a wki entry (and Ayende who is just as bad) pointing to the blog. The last set of blog entries Ayende on all the settings in the mapping file was incredibly useful (and pointed out some new stuff to me) but its really hard to find this stuff after a few months.

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-20-2009 19:06

@bunceg

Sure, it is true.

For that reason we are giving you NH-Forge.

The NH-Forge wiki is open for NH-Forge's registered users, each user can leave his contribute.

In the wiki there are various sections including wiki-reference, How-To and so on.

Yesterday's news wrote What's new in NHibernate 2.1
on 07-20-2009 20:44

What's new in NHibernate 2.1

XOR wrote re: Welcome NH2.1.0
on 07-21-2009 6:12

@Fabio

Is 39 Mb too big for Source Forge? Or for this site? If there is a problem with space, it can be solved by plenty of ways.

«XOR's Post» wrote NHibernate 2.1.0 is out
on 07-21-2009 7:07

NHibernate 2.1.0 is released after two years of development! It’s great that project is going forward

alrhr wrote re: Welcome NH2.1.0
on 07-21-2009 10:09

I have the problem that XOR desrcibes. I downloaded the sources and  invoked nant api. The result is the error message that parts of the path could not be found.

What do I have to do, so that compilation does not fail?

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-21-2009 10:23

Probably download and install SandCastle.

I'll check if SF allow us to upload the API chm.

tbrooks wrote re: Welcome NH2.1.0
on 07-21-2009 13:13

It's not just Sandcastle.  In order to build the reference documentation you need:

1. SandCastle help File Builder from Codeplex

2. SandCastle from Microsoft

3. Java Runtime Environment (JRE)

4. Saxon jars (doesn't have to be installed)

5. HTML Help Workshop

6. VS Help Integration Kit (VSHIK)

Right now, this is way too complicated to piece together just to build the CHM documentation.  Unfortunately, I'm not willing to install the JRE just to build help documentation.  I'm hoping that someone who has it installed and can build the CHM, can post it on Drop IO or someplace similar if it cannot be hosted here.

At one point, back in 1.2 days, the CHM was hosted at SourceForge.

Fabio Maulo wrote re: Welcome NH2.1.0
on 07-21-2009 13:19

uffffff!!

tbrooks wrote re: Welcome NH2.1.0
on 07-21-2009 13:20

Looks like I was late to the party.  

Fabio, I assume you posted the reference documentation to SourceForge.  Thank you.

My apologies regarding my previous comment, I hadn't realized that it had already been taken care of.

alrhr wrote re: Welcome NH2.1.0
on 07-22-2009 7:32

Thanks Fabio and all you other guys for the new Version of NHibernate. This is a tremendous piece of work!! I forgot to say that in my last posting.

Thank you for the apidoc on sourceforge!

DotNetShoutout wrote Welcome NH2.1.0 - NHibernate blog - NHibernate Forge
on 07-23-2009 8:12

Thank you for submitting this cool story - Trackback from DotNetShoutout

La Web de Programación wrote Noticias 25-Julio-2009
on 07-25-2009 12:27

NHibernate 2.1.0 disponible : Nueva versión de este sistema de persistencia de objetos en base de datos

Dimonina wrote re: Welcome NH2.1.0
on 07-27-2009 12:15

Found bug in new version, sorry, don't have a login to issue tracker.

We have a query.

select o.ID, o.Name, addr

from Organization o

left join fetch o.Address addr

Organization - many-to-one - Address.

Get an error:

Query specified join fetching, but the owner of the fetched association was not present in the select list...

It means that I need to have entire Organization class oin select clause, but I don't. In 2.0 everything works fine (just replaced dlls). What to do?

Dimonina wrote re: Welcome NH2.1.0
on 07-28-2009 6:18

I've solved it. The new HQL parser is more strict than previous.

The rigth query is:

select o.Id, o.Name, o.Address from Organization o where .....

And also look at these queries:

select o.Id, o.Country.Name, o.Address from Organization o where...

It doesn't work. Generated SQL part would be like this:

... from Organizations o INNER JOIN Address a INNER JOIN Countries c ON a.Id = o.AddressId ON c.Id = o.CountryId...

So the right query is:

select o.Id, cn.Name, o.Address from Organization o inner join o.Country cn where....

And the generated SQL is:

... from Organizations o INNER JOIN Address a ON a.Id = o.AddressId

INNER JOIN Countries c  ON c.Id = o.CountryId...

Be careful with queries.

online shopping offering instant credit wrote online shopping offering instant credit
on 10-21-2014 18:48

Welcome NH2.1.0 - NHibernate blog - NHibernate Forge

crushed ice maker for home wrote crushed ice maker for home
on 10-31-2014 0:56

Welcome NH2.1.0 - NHibernate blog - NHibernate Forge

http://web.futsu.com.tw wrote http://web.futsu.com.tw
on 11-03-2014 7:08

Welcome NH2.1.0 - NHibernate blog - NHibernate Forge

Highly recommended Webpage wrote Highly recommended Webpage
on 11-04-2014 8:55

Welcome NH2.1.0 - NHibernate blog - NHibernate Forge

why not check here wrote why not check here
on 11-13-2014 2:22

Welcome NH2.1.0 - NHibernate blog - NHibernate Forge

Powered by Community Server (Commercial Edition), by Telligent Systems