Re: query about after commit hook
Sanjay Rao <[email protected]>
| Newsgroups | gmane.comp.web.zope.zodb |
|---|---|
| Message-ID | <[email protected]> |
*IMO, after commit hooks are largely bug magnets that should be ignored by almost all users. * Do you mean that we should not use "after-commit-hook" ??? On Thursday, 19 May 2016 18:03:31 UTC+5:30, Sanjay Rao wrote: > > Hi, > > Is this flow correct ? > > - Begin a new transaction > - Run a method (method1). method1 registers method2 as after-commit-hook > - Commit transaction > - method2 is called > - method2 raises exception > - begin a new transaction > - Call method3 and commit transaction > > > Regards, > Sanjay Rao > -- You received this message because you are subscribed to the Google Groups "zodb" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.