On 05/06/2007, at 9:29 PM, Andrus Adamchik wrote:
> This seems related to this thread started by Lachlan:
>
> http://objectstyle.org/cayenne/lists/cayenne-devel/2007/06/0027.html
It is.
> The use of a proxy context may confuse the issues. If you are aware
> of this behavior, it is usually easy to work around (by avoiding
> calls like "cat.getObjectContext().newObject(SomeEntity.class)").
> We will try to fix it per CAY-797 though, by avoiding the use of
> proxy context for callbacks (no matter how much I like the
> separation of concerns and runtime flexibility provided by the
> proxy-based design :-)).
Perhaps it'd make sense to be able to register a delegate... then you
can still separate concerns ;-)
with regards,
--Lachlan Deck
This archive was generated by hypermail 2.0.0 : Tue Jun 05 2007 - 08:22:54 EDT