On Feb 26, 2008, at 8:20 PM, Andrus Adamchik wrote:
Moreover, any modifications made at the server
level will be reflected back in the client?
This is actually a separate issue from callbacks/listeners. And we
need to fix it .. badly... The object diff exchange protocol
supports sending server-side changes back to the client (and in fact
we are using that - for generated primary keys), but we also need to
capture and send back the changes that happened to objects as a
result of callbacks. IMO this is a major task that we'd rather do
sooner than later.
I just implemented this on SVN trunk per CAY-789. I'd appreciate if
somebody could test it in production and report how it works. To make
things easier for those not setup to build Cayenne, here are the fresh
server and client binaries:
http://people.apache.org/~aadamchik/nightly/03012008/
Andrus