3 messages in com.googlegroups.sqlalchemy[sqlalchemy] Re: SessionTransaction b...
FromSent OnAttachments
Alan Franzoni22 Dec 2006 06:36 
Michael Bayer22 Dec 2006 08:29 
Alan Franzoni23 Dec 2006 03:22 
Subject:[sqlalchemy] Re: SessionTransaction behaviour
From:Michael Bayer (zzz@gmail.com)
Date:12/22/2006 08:29:00 AM
List:com.googlegroups.sqlalchemy

we dont "rollback" the attributes of objects nor do we automatically expunge() them. its impossible for SA to "rollback" in-memory objects without great danger of stepping on other program state that the user doesn't want affected. the "rollback" that is performed by SessionTransaction is a "ROLLBACK" issued to all database connections that have been gathered up into the transaction, and thats it. any other clear()/expunge() operations are up to the user.