Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# dagda1 9/4/2006 5:19 AM
Hi all,

Nhibernate is moving to .NET 2.0 according to this post.

Sounds very cool.

Paul
# martijnb 9/4/2006 5:08 PM
Yep, I'm glad they choose to finish 1.2 first before porting all the Hibernate 3 stuff. Especially the generics support is something that is really useful.

I think however that Cuyahoga 2.0 Alpha will be released with the 'old' NHibernate 1.0.2. There is nothing planned that requires 1.2.
# mgaerber 9/6/2006 5:20 AM
Hi,

not to forget current NHibernate 1.2 is the first alpha version - so it will take some time until you can safely use the new libraries... I already had a module ready using generics but after I recognized the update won't come soon...

Regards,

Max
# El Gringo 9/7/2006 8:27 AM
That is a pity. Once you worked with generics, you do not want to go back and cast your self the way through every collection you get.
We are testing the 1.2.0 Alpha 1 Version. Though it is still alpha, it seems more reliable than some other third party genric nhibernate addons.

So I just tried to overwrite the old NHibernate and IesiCollectio dlls in the Cuyahoga bin, what results in 48 Compilation errors. :`( . Most where due not implementing an interface. I finally had it down to 9 Errors, when i gave up. ;)



# martijnb 9/8/2006 5:49 AM (edited 9/8/2006 5:52 AM)
I think it can be possible to use NHibernate 1.2.0 alpha, but you also have to use a custom build of Castle, because it also references NHibernate. A workaround would be to add an assembly redirect in the web.config. There already is one for NHibernate because Castle references NHibernate 1.0.1 and Cuyahoga references 1.0.2.

At the moment when both Castle and NHibernate have their new releases, we can safely upgrade. But a little experimenting is always appreciated :). I'm especially curious to see if it is going to be possible to run Cuyahoga in Medium Trust with NHibernate 1.2.0.
# chrisortman 9/8/2006 7:41 AM
I hadn't been checking up on NHibernate lately, thanks for posting this. It will be nice to have generic support, I'm also a little excited about seeing and any user-supplied collection types .... how nice would it be to be able to use the powercollections library with NHibernate and not have to jump through hoops.

As for experimenting...I'd been thinking about doing some updates after next week, currently i run my own custom build with
castle trunk rev 1952
nhibernate 1.0.2
and cuyahoga trunk rev 466

It took some work to set up, but now i can pretty much control version independently on all 3.