cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <mkien...@gmail.com>
Subject Re: How to use TransactionDelegate to do audit logging?
Date Tue, 03 Oct 2006 17:09:24 GMT
On 10/3/06, Andrus Adamchik <andrus@objectstyle.org> wrote:
> In Cayenne I would still use a separate peer DataContext to commit
> changes from within callbacks. And use explicit transactions so that
> multiple DataContexts commit atomically.
>
> > 4) JPA states that a new+update event and an update+delete event may
> > not execute the update event listener.

I think no update event for update+delete is a great idea.

I think new+update is undefined.   If I get the "new+update" values in
the new event, that's perfect.    If I only get the "new" event values
and not the "update" event values, then I'm thinking it's pretty lame
:-)

Mime
View raw message