Re: [sqlalchemy] Set/clear mapping for some tables only

2016-11-27 Thread Srikanth Bemineni
Hi Mike, I even tried flushing and committing the transaction. But still the same issue. I was trying to figure out why is getting rolled back. Please see the below stack trace DBSession = scoped_session(sessionmaker(extension=ZopeTransactionExtension ())) with

Re: [sqlalchemy] Set/clear mapping for some tables only

2016-11-27 Thread mike bayer
you need to call commit() on a Session in order for the transaction to be committed. Also you should be able to attach session events to the scoped_session object directly, the session event structure will extract the underlying sessionmaker class as the target. On 11/26/2016 01:56 PM,