Please post the full traceback.
Diez
Please post the full traceback.
As far as I know, you shouldn't share a particular object instance
between several threads.
The answer to the question: "Is the session thread-safe?" in:
http://www.sqlalchemy.org/docs/session.html#frequently-asked-questions
applies to your case. But you can perfectly load the same row in two
different threads... If both threads can write, you'll have to
implement some kind of synchronisation mechanism though.
--
Gaëtan de Menten
Looks good, yes.
Diez
Looks good, yes.
Looks good, yes.Stop me if I'm asking too much, but.will this work because:job = Job.get(jobNumber) #will be a newly created object, not the one from the identity-map