Mark Berry wrote:
Could someone please help me?
In the tutorial on instance call backs, how is the afterStore() method called? I am presuming it is called from both the afterInsert() and the afterUpdate(), although these calls don't appear in the documentation.
doh! Sorry, I will fix this in docs ASAP. Some time ago we split xxxStore call in xxxInsert/xxxUpdate calls in PersistenceBrokerAware interface.
Also is it possible to write a call back routine that will ignore these methods.
To explain this further I am writing a callback routine that will resequence a group of records.
I can copy them into and array, remove them, but when I go to recreate the first one, the broker.store() wants to call the resequencing method again.
Think I don't understand your question, but will try anyhow.
If an object implements PersistenceBrokerAware there is no way to induce OJB to skip one of these methods. You have to handle this in your object itself.
regards, Armin
BTW I am still using RC4.
Regards Mark Berry
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
