Hi everyone,

in my script I work with two different sessions (say session1 and
session2) bounded to the same database and, consequently, with ORM
objects obtained with queries issued on them. It can occur that an
object related to session1 change a value of the corresponding mapped
table record and, on the other hand, there exist an object related to
session2 mapped to the same table record. In this case the second
object becomes misaligned with respect to the mapped table. So, my
question is...which is the best approach to handle this situation? Can
a session object somehow become aware that it must be synchronized/
refreshed?
Thanks in advance for your help!

-- 
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