On Thu, Jul 05, 2007 at 11:22:36AM +0200, [EMAIL PROTECTED] wrote: > The accesses are made in different threads, to objects of the same class > (MyClass in my example). One locks while resolving a ForeignKey in > _SO_foreignKey(), one locks in _SO_finishCreate() and the third one in the > selectresult's __iter__().
Can you do an experiment - create objects of OtherClass outside of _create() and assign them to foreign keys after the object has been fully created? Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss