View Full Version : Bigger problem
Flozano
02-07-2007, 05:38 PM
Hello,
Spring.Data.NHibernate12 builds are broken????
I can't see the OpenSessionInViewModule in NHibernate12's source. I've tried to compile it myself and the SessionFactoryUtils provided in the bin/Spring.Data.Nhibernate12.dll does not implement a required method (OpenSession)...
what's happening with 12 builds????
Erich Eichinger
02-07-2007, 07:31 PM
Hi,
plz get the Spring.Data.NHibernate sources and place them beside Spring.Data.NHibernate12.
To avoid source duplication NHibernate12 project links to all files from NHibernate project and adds some new files itself.
your structure should look like
/Integration/Spring.Data.NHibernate/
Spring.Data.NHibernate.build
/Integration/Spring.Data.NHibernate12/
Spring.Data.NHibernate12.build
cheers,
Erich
Flozano
02-07-2007, 11:24 PM
But anyway, NHibernate12's SessionFactoryUtils is different than NHibernate 1.0's one... 12's doesn't have OpenSession, just GetSession
Erich Eichinger
02-08-2007, 09:04 AM
That's strange: Spring.Data.NHibernate12 doesn't have its own SessionFactoryUtils. It uses the class from Spring.Data.NHibernate.
Btw: I just did a clean checkout of both projects from CVS and it compiled and executed perfectly.
I'll check the nightly downloads if they are maybe broken somehow and ping back here.
cheers,
Erich
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.