Re: [sqlalchemy] ROLLBACK with no reason.

2017-10-06 Thread Mike Bayer
ROLLBACK is emitted when a connection is released to the connection pool. The ORM session requires that session.commit() is called. If this Session is integrated with the zope transaction manager, then the transaction manager will call it, but if not then you need to call session.commit()

[sqlalchemy] ROLLBACK with no reason.

2017-10-06 Thread Srikanth Bemineni
Hi, SQLalchemy rollbacks an insert command with out the reason for failure. I am using Mysql 2017-10-06 15:23:22,170 INFO [sqlalchemy.engine.base.Engine:1140][b'uWSGIWorker2Core0'] INSERT INTO group_message_22f9b36c (group_id, group_topic_id, score, user_id, uname, msg, created_at,