Hi, The status of that project is excellent. I think it targets the latest NHibernate, 3.2, and it's being used in production without problems. I have also taken the 'opinionated' way of having a session per transaction.
The most work required is to bring the resource management of the ISession up to snuff - i.e. using Burden instead of the implicit concepts in 2.5. Basically, this means modding the PerTransaction lifestyle: https://github.com/haf/Castle.Transactions/blob/master/src/Castle.Facilities .AutoTx/Lifestyles/PerTransactionLifestyleManagerBase.cs The transactions project is currently in need of some love - basically I got stuck when the IO project failed, but we're going to pull those bits out to make openfilesystem support what IO supported, and then have an integration towards that project instead. The dev branch is develop; if you work off master, it will probably take a very long time to re-integrate, but working off develop should be straight forward and I think most transaction related tests pass (but not those doing file transactions, for the above mentioned reason). The main difference that made me do my own NHibernate integration was the session management and the way of doing so much delegation - instead I used Windsor's excellent lifestyles. I'm up for some pairing, if someone wants to have a go at fixing this. Cheers, Henrik -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of John Jeffery Sent: den 28 januari 2012 05:03 To: [email protected] Subject: RE: NHibernateIntegrationStatus Henrik has an alternative NHibernate facility that works with Castle Transactions V3.0, but it is built against Core/Windsor 2.5 and needs a bit of work to update to V3.0 (https://github.com/haf/Castle.Facilities.NHibernate) What is the status of this Henrik? Is it a better basis for bringing Castle/NHibernate integration to V3.0? Cheers -- John -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of dagda1 Sent: Friday, 27 January 2012 6:38 PM To: Castle Project Development List Subject: Re: NHibernateIntegrationStatus Hi, What were the problems you faced? I will try and get a look at it this weekend. Cheers Paul On Jan 26, 7:36 pm, hammett <[email protected]> wrote: > I try to get it working with the latest windsor + latest > Services.Transaction and gave up. > > > > > > > > > > On Thu, Jan 26, 2012 at 1:02 AM, Paul Cowan <[email protected]> wrote: > > Hi, > > > Can anyone let me know if Castle.Facilities.NHibernateIntegration > > works against Windsor 3.0? > > > Cheers > > > Paul Cowan > > > Cutting-Edge Solutions (Scotland) > > >http://thesoftwaresimpleton.com/ > > > -- > > You received this message because you are subscribed to the Google > > Groups "Castle Project Development List" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group at > >http://groups.google.com/group/castle-project-devel?hl=en. > > -- > Cheers, > hammetthttp://hammett.castleproject.org/ -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en. -- You received this message because you are subscribed to the Google Groups "Castle Project Development List" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-devel?hl=en.
