cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lachlan Deck <>
Subject Re: weird problems with context
Date Tue, 05 Jun 2007 12:22:20 GMT
On 05/06/2007, at 9:29 PM, Andrus Adamchik wrote:

> This seems related to this thread started by Lachlan:

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

View raw message