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 exception. And AbstractTransaction catches the exception, and wraps it as CommitResourceException, and throws it. TransactionInterceptor catches this exception, but it says "// Whoops. Special case, let's throw without attempt to rollback anything" ( in D:\Sources\castle\Facilities\AutomaticTransactionManagement\Castle.Facilities.AutomaticTransactionManagement\TransactionInterceptor.cs, line 128). I don't know why not rollback the transaction. I don't know which is special. Any suggestion?
I haven't used NHIntegrationFacility yet. Thanks. -- Regards, Karron --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
