well, i ran today into an issue i never seen before. considering this simple example:
session = get_session() objs = [] for ign in xrange(10): o = NewObject() objs.append(o) session.add_all(objs) session.commit() for obj in objs: print obj in sessionthis will print True only in the first iteration. basically, the other objects are not bound to a session anymore. is there any reason for this, or am i doing something wrong?
best regards, richard. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
<<attachment: richard.vcf>>