Re: [ZODB-Dev] Setting the jar

2005-08-14 Thread Jim Fulton
Tim Peters wrote: ... add() is a relatively new API, intended to be called "by hand" when someone wants to force a new object to get an oid. I'm not really clear about the use case(s) that drove its addition, but it's not normally involved in auto-assigning oids and/or jars. add was originally

RE: [ZODB-Dev] Setting the jar

2005-08-04 Thread Tim Peters
[Florent Guillaume] >>> What part of the transaction/persistence code sets the _p_jar of a >>> persistent object to that of its parent when the object is assigned to >>> a persistent parent and transaction.commit(1) is called ? [Tim] >> I'm massively overloaded today, so it would really help if yo

Re: [ZODB-Dev] Setting the jar

2005-08-04 Thread Florent Guillaume
On 4 Aug 2005, at 22:11, Tim Peters wrote: [Florent Guillaume] What part of the transaction/persistence code sets the _p_jar of a persistent object to that of its parent when the object is assigned to a persistent parent and transaction.commit(1) is called ? I'm massively overloaded today

RE: [ZODB-Dev] Setting the jar

2005-08-04 Thread Tim Peters
[Florent Guillaume] > Trying to understand some code... > > What part of the transaction/persistence code sets the _p_jar of a > persistent object to that of its parent when the object is assigned to a > persistent parent and transaction.commit(1) is called ? I'm massively overloaded today, so it