[ZODB-Dev] Re: KeyError / POSKeyError

Dieter Maurer dieter at handshake.de
Thu Mar 29 16:13:50 EDT 2007


Tim Tisdall wrote at 2007-3-29 12:02 -0400:
>  Okay...  I've managed to create a persistent object called 'p' with
>the OID of the missing object.  I have no idea how to determine the
>database connection object to pass it to the
>ZODB.Connection.Connection.add() .

If you have a persistent object (like the root object), then "obj._p_jar"
is this object's ZODB connection.



-- 
Dieter


More information about the ZODB-Dev mailing list