Re: [sqlalchemy] Usage of begin nested

2012-02-15 Thread Michael Bayer
On Feb 15, 2012, at 12:21 AM, Manav Goel wrote: My use case requires that if insertion of object of Myclass succeeds then insert Object of Myclass1 . Even if inserting of Myclass1 object fails insertion of Myclass should not be rolled back. I mean adding Myclass is permanent and does not

[sqlalchemy] Usage of begin nested

2012-02-14 Thread Manav Goel
My use case requires that if insertion of object of Myclass succeeds then insert Object of Myclass1 . Even if inserting of Myclass1 object fails insertion of Myclass should not be rolled back. I mean adding Myclass is permanent and does not depend on failure or success of insertion of Myclass1. I