What about next level of nesting...

ObjectContext nestedChild = runtime.getContext((DataChannel) clientContextChild);

This approach doesn't seem handy or obvious. Is there a better way?

Dima


On 07/16/2012 02:11 PM, Andrus Adamchik wrote:
The API was refactored, but the nested contexts feature is of course still 
present. Right now you'd create a client nested context using ClientRuntime:

ClientRuntime runtime = ..
ObjectContext clientContextChild = runtime.getContext(clientContext);

Andrus

On Jul 16, 2012, at 1:00 PM, Eshan Sudharaka wrote:

Hi,
I was trying to reproduce the issue CAY-1714 and it seems that following
operation is now invalid. (since CayenneContext has mo such method
declaration)

ObjectContext clientContext = this.clientContext.createChildContext();

So is this bug is fixed  now ?

--
*~Thanks & Regards~*
***
*
Eshan


Reply via email to