I have an application in which I primarily rely on MySQL/InnoDB and using 
the SQLAlchemy ORM and leveraging the transaction python module. 
 Everything is good.

My problem is that, try as I might, using code similar to the following, I 
can't get the transaction to commit:

with transaction.manager:
    session.execute("INSERT INTO table (c1, c2) VALUES (v1, v2)")

All I get is a rollback.  Is there a pre-defined way to do this with 
issuing raw SQL BEGIN/END statements?

Thanks!

-- 
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 sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to