RE: [ZODB-Dev] zodb connection question

2005-07-13 Thread Jürgen Herrmann
[ Tim Peters wrote:] > [Jürgen Herrmann] >> hmm, as it seemed quite impossible the way i wanted it, i almost dropped >> it from my wishlist. now you say, it's doable... > > It would be possible to add new official APIs to ZODB to supply some > notion > of the collection of all modified objects, at

RE: [ZODB-Dev] zodb connection question

2005-07-13 Thread Tim Peters
[Jürgen Herrmann] > hmm, as it seemed quite impossible the way i wanted it, i almost dropped > it from my wishlist. now you say, it's doable... It would be possible to add new official APIs to ZODB to supply some notion of the collection of all modified objects, at the level ZODB "sees" objects. "

RE: [ZODB-Dev] zodb connection question

2005-07-13 Thread Jürgen Herrmann
[ Tim Peters wrote:] > [Jürgen Herrmann] > ... >> so, what i need is a way to have my mechanism called before transaction >> commits (would be possible to use the hooks provided by zodb 3.4 for >> that, sure) and cycle through all modified objects (that's where the >> hooks in 3.4 are not enough f

RE: [ZODB-Dev] zodb connection question

2005-07-12 Thread Tim Peters
[Jürgen Herrmann] ... > so, what i need is a way to have my mechanism called before transaction > commits (would be possible to use the hooks provided by zodb 3.4 for > that, sure) and cycle through all modified objects (that's where the > hooks in 3.4 are not enough for me, they don't provide any

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: hi all! i'm trying to form a patch that will result in a method "_before_commit()" being called on each modified object in a transaction (if that method exists of course) righ

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jürgen Herrmann
[ Jim Fulton wrote:] > Jürgen Herrmann wrote: >> [ Jim Fulton wrote:] >> >>>Jürgen Herrmann wrote: >>> hi all! i'm trying to form a patch that will result in a method "_before_commit()" being called on each modified object in a transaction (if that method exists of course)

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
Jürgen Herrmann wrote: [ Jim Fulton wrote:] Jürgen Herrmann wrote: hi all! i'm trying to form a patch that will result in a method "_before_commit()" being called on each modified object in a transaction (if that method exists of course) right before commit. main sense is to automate/delay (

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jürgen Herrmann
[ Jim Fulton wrote:] > Jürgen Herrmann wrote: >> hi all! >> >> i'm trying to form a patch that will result in a method >> "_before_commit()" >> being called on each modified object in a transaction (if that method >> exists of course) right before commit. >> main sense is to automate/delay (re)cat

Re: [ZODB-Dev] zodb connection question

2005-07-12 Thread Jim Fulton
Jürgen Herrmann wrote: hi all! i'm trying to form a patch that will result in a method "_before_commit()" being called on each modified object in a transaction (if that method exists of course) right before commit. main sense is to automate/delay (re)cataloging. first i looked at the Transactio

[ZODB-Dev] zodb connection question

2005-07-12 Thread Jürgen Herrmann
hi all! i'm trying to form a patch that will result in a method "_before_commit()" being called on each modified object in a transaction (if that method exists of course) right before commit. main sense is to automate/delay (re)cataloging. first i looked at the Transaction class, as there have be