Re: [sqlalchemy] Using expire_on_commit with autocommit

2013-03-26 Thread Michael Bayer
On Mar 26, 2013, at 1:56 PM, Martin Davidsson wrote: > Hello, > > For various reasons, I've configured my sessionmaker with autoflush=False, > expire_on_commit=False, autocommit=True. Mainly, I just want autocommit > behavior. The other flags are set due the warning in the SQLAlchemy docs: >

[sqlalchemy] Using expire_on_commit with autocommit

2013-03-26 Thread Martin Davidsson
Hello, For various reasons, I've configured my sessionmaker with autoflush=False, expire_on_commit=False, autocommit=True. Mainly, I just want autocommit behavior. The other flags are set due the warning in the SQLAlchemy docs: In the absense of a demarcated transaction, the Session cannot make