cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Razumovsky Andrey <>
Subject Re: Child context for Web App
Date Fri, 21 Mar 2008 10:23:51 GMT
Hi Pierre!

When you use nested contexts (, you
don't need to manually copy objects between contexts, it collapses to just calling one method.
I think that's exactly what you need.

Manually calling setObjectContext (and even worse, deprecated setDataContext), by my experience,
usually results in errors since Cayenne's internal object graph isn't properly updated.


View raw message