It looks right to me. The tests in
Castle.Facilities.NHibernateIntegration.Tests.Transactions all passing.
Can you check those?


Tuna Toksöz
http://tunatoksoz.com

Typos included to enhance the readers attention!



On Sun, Jan 11, 2009 at 1:34 PM, andypike <[email protected]>wrote:

>
> Hi,
>
> I spent some time stepping through the ATM and nhibernateintegration
> code but can't see what I might have some wrong. I guess I'm missing
> some knowledge about the interal workings. So can anyone comfirm that
> these two facilities are working correctly in the trunk together. On
> the meantime, I've created my own simple transaction interceptor and
> session management classes so that I can carry on working. Hoping to
> return to the castle facilities soon.
>
> Cheers
>
> On Jan 10, 12:33 am, andypike <[email protected]> wrote:
> > Hi Everyone,
> >
> > I've got a small problem that I can't figure out. I have a MonoRail
> > application and I've setup Windsor and the required facilities (ATM
> > and NHibernateIntegration). I've built and using the latest trunk (rev
> > 5500). I'm also trying out NHibernate.Linq (via my own repository) and
> > Fluent NHibernate Auto Mapping.
> >
> > Now, the app runs and I can query the database which is a good sign.
> > But if I try to save, nothing ends up in the database. I think this is
> > due to no transaction as they are required as of NH 2.x (I think I
> > read that). Is I manually flush the session it works, but I'd rather
> > not do that and use ATM instead.
> >
> > I've stepped through the source and I get into the ATM
> > TransactionInterceptor but on Commit() no IResources have been
> > enlisted and so the transaction doesn't commit.
> >
> > So I guess my question is, why is there no IResources? What might I
> > have done wrong/missed?
> >
> > For those that are interested, the code is here:
> >
> > http://andypike.googlecode.com/svn/trunk/
> >
> > Thanks in advance
> >
> > Andy
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to