Thanks Michael.

I think this has everything to do with the fact that I'm running 
autocommit=True and the default expire_on_commit=True ! According to ticket 
2041 <http://www.sqlalchemy.org/trac/ticket/2041>, all my flushes reload 
objects !

Does this explain why, if I wrap the above code in my own begin/commit 
block, no reload happens ?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to