SubView sample

2008-12-07 Thread Ohad
I'm looking for documentation of sample project that make use of SubView (of the aspview engine), I coundn't find one. Thanks:) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Castle Project Users group. To post

ATM doesn't rollback my transaction

2008-12-07 Thread karron
Hi, I implemented a customer resource from IResource interface, it begins( commit, rollback) nhibernate transactions. I also add my customer IPreInsertEventListener to nh for validations. When my resource commit, the validation listener checks if the entity is valid, if not, it throws an

Re: ATM doesn't rollback my transaction

2008-12-07 Thread Ayende Rahien
CommittedResourceException means that you have failed to commit the transaction so you can't even roll it back. On Mon, Dec 8, 2008 at 12:10 AM, karron [EMAIL PROTECTED] wrote: Hi, I implemented a customer resource from IResource interface, it begins( commit, rollback) nhibernate

Re: ATM doesn't rollback my transaction

2008-12-07 Thread Ayende Rahien
IIRC, you shouldn't do anything, if the transaction wasn't committed, it will be rolled back on dispose. On Mon, Dec 8, 2008 at 12:28 AM, karron [EMAIL PROTECTED] wrote: Thank you very much for your very quick response, Ayende. I set ISession.FlushMode = FlushMode.Commit. So when the

Re: ATM doesn't rollback my transaction

2008-12-07 Thread karron
It seems like the ATM doesn't dispose my resource explicitly . The dispose method in AbstractTransaction just clear the Resources, doesn't call the resource's dispose method. And I will dispose my UnitOfWork when the resource dispose. So in this situation, my unitofwork don't be disposed, when I

Re: ATM doesn't rollback my transaction

2008-12-07 Thread karron
By the way, my idea of unit of work is stealling from your Rhino.Commons. Thank you very much, Ayende. I'm a fan of you. :) On Mon, Dec 8, 2008 at 1:51 PM, karron [EMAIL PROTECTED] wrote: It seems like the ATM doesn't dispose my resource explicitly . The dispose method in AbstractTransaction

Re: SubView sample

2008-12-07 Thread Ken Egozi
the dingus page is very useful. off the top of my head there are also these: 1. The demo from my MR talk in London this May: http://github.com/kenegozi/monorail-aspview-demo/tree/master example for subview: