Hi Ross,

What version of Castle.Services.Transactions were you using? I am
interested in getting the NH facility going as well, and I checked out
from the trunk and applied your patch.

All good so far, but I am also getting a compile error in src
\Castle.Facilities.NHibernateIntegration\Internal\ResourceAdapter.cs

The ResourceAdapter class implements an interface
Castle.Services.Transactions.IResource, which no longer exists in the
latest version of Castle.Services.Transactions (I used version
3.0.202.2202 from nuget). I have had a look around trying to work out
if this interface has been renamed or moved, but it would appear that
it has been completely removed. Any suggestions gratefully received.

Cheers -- John


On Dec 21 2011, 11:19 am, ross <[email protected]> wrote:
> Posted the issue and some patches to the issue tracker:
>
> http://issues.castleproject.org/issue/FACILITIES-156
>
> On Dec 19, 4:40 pm, ross <[email protected]> wrote:> Hi All,
>
> > I posted on Stack Overflow previously as I was having trouble with the
> > NHibernateIntegration facility in Windsor when working alongside
> > Castle Windsor 3. The question is located at:
>
> >http://stackoverflow.com/questions/8557327/castle-windsor-3-fluent-nh...
>
> > I have since recompiled the NHibernateIntegration Facility DLL file
> > with a few changes to get it working and was wondering if this is
> > worth creating a patch for? The changes are:
>
> > For src\Castle.Facilities.NHibernateIntegration\Internal
> > \SessionFactoryActivator.cs:
>
> > Before: public override object Create(CreationContext context)
> > After: public override object Create(CreationContext context, Burden
> > burden)
>
> > For src\Castle.Facilities.NHibernateIntegration\Internal
> > \NHSessionComponentInspector.cs
>
> > Before: model.Dependencies.Add(new
> > DependencyModel(DependencyType.Service, null,
> > typeof(NHSessionInterceptor), false));
>
> > After: model.Dependencies.Add(new DependencyModel(null,
> > typeof(NHSessionInterceptor), false));
>
> > Thanks,
>
> > Ross.

-- 
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.

Reply via email to