I see using Castle.Services.Transaction; in NH integration codes so I assume
you need NH Integration facility

On Tue, Sep 9, 2008 at 11:04 PM, Yun Che <[EMAIL PROTECTED]> wrote:

>
> OK.
>
> This is my configuration file for Castle
>
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
>  <facilities>
>    <facility id="atmFacility"
>
> type="Castle.Facilities.AutomaticTransactionManagement.TransactionFacility,
> Castle.Facilities.AutomaticTransactionManagement" />
>
>  </facilities>
>  <components>
>    <component
>                        id="IItemServices"
>                        type="IT2.Services.ItemServices, IT2.Services"
>                        service="IT2.Services.IItemServices, IT2.Services"
> isTransactional="true">
>      <parameters>
>        ItemServices
>      </parameters>
>      <transaction>
>        <method name="SaveItemMisc" />
>      </transaction>
>    </component>
> </components>
>
> But it complains that "No component for supporting the service
> Castle.Services.Transaction.ITransactionManager"
>
> If I register that as another component.  It does not rollback.
>
> What am I missing?
>
>
> On Sep 9, 3:49 pm, "Ayende Rahien" <[EMAIL PROTECTED]> wrote:
> > no
> >
> > On Tue, Sep 9, 2008 at 10:45 PM, Yun Che <[EMAIL PROTECTED]> wrote:
> >
> > > One question - In order to use the ATM do I have to use
> > > NHibernateIntegration facility?
> >
> > > On Sep 9, 3:41 pm, Yun Che <[EMAIL PROTECTED]> wrote:
> > > > Thanks but I did not find any good examples.
> >
> > > > On Sep 9, 3:11 pm, "Chris Carter" <[EMAIL PROTECTED]> wrote:
> >
> > > > > Tobin's NHibernate deep grok has some examples,
> > >http://nhibernate.deepgrok.com/, search for Automatic Transaction
> > > Management
> >
> > > > > On Tue, Sep 9, 2008 at 1:07 PM, Yun Che <[EMAIL PROTECTED]>
> wrote:
> >
> > > > > > Is there a good example of how to use Automatic Transaction
> > > Management
> > > > > > with NHibernate?
> >
>


-- 
Tuna Toksöz

Typos included to enhance the readers attention!

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