On Friday, August 14, 2015 at 8:26:09 PM UTC-4, Jinghui Niu wrote: > > Just a thought, if I don't commit those three tables together in my > application, can I just use 3 Session objects to commit them separately, > without having to worry about this two phase issue? I want to go simple, > not sure if I can handle this fancy stuff:) >
You can commit them as part of the same session (via the example above) or different sessions -- but you'll still run into the same database integrity issues that two-phase transaction commits were designed to solve. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
