;
> But there's still a condition when that can happen. As a workaround you can
> create nested contexts that are subclasses of DataContext, overriding
> 'setChannel' (3.0.x) or 'attachToChannel' (3.1.x) to suppress this line:
>
> EventUtil.listenForChannel
Yeah, unfortunately this is a known problem that we need to solve:
https://issues.apache.org/jira/browse/CAY-957
It was partially fixed in Cayenne 3.1:
https://issues.apache.org/jira/browse/CAY-1653
But there's still a condition when that can happen. As a workaround you can
create n
Hi,
I have been debugging some strange errors in our web app that seems to
be related to context and threads, let me explain, we are using Cayenne
3.0.1 using WebApplicationContextFilter to bind the context to threads,
in some parts of the application is not so difficult to be processing
seve
While working on a project, I had something like the following:
ObjectContext child = parentContext.createChildDataContext();
List alist = lookupAs();
for(EntityA a : alist) {
a = child.localObject(a.getObjectId(),null);//note: doing
localObject(a.getObjectId(),a); still results in the except
IIRC there were some locking jiras, but they will be treated as bugs,
not as limitation by design.
Andrus
On Jan 13, 2009, at 2:29 PM, Aristedes Maniatis wrote:
On 13/01/2009, at 11:09 PM, Andrus Adamchik wrote:
On Jan 13, 2009, at 1:26 PM, Aristedes Maniatis wrote:
I think it is a bu
On 13/01/2009, at 11:09 PM, Andrus Adamchik wrote:
On Jan 13, 2009, at 1:26 PM, Aristedes Maniatis wrote:
I think it is a bug, and relating objects should be allowed
between parent/child contexts.
Not so. Parent/child relationship determines the path of the
select and commit operation
On Jan 13, 2009, at 1:26 PM, Aristedes Maniatis wrote:
I think it is a bug, and relating objects should be allowed
between parent/child contexts.
Not so. Parent/child relationship determines the path of the select
and commit operations, but has no effect on the rule that each
object be
On 13/01/2009, at 7:03 PM, Andrus Adamchik wrote:
Another thing is that the http://cayenne.apache.org/doc/nested-datacontexts.html
states that nested contexts are not available in ROP, is that still?
Andrey has been working on the ROP version of nested contexts. I
think it is (partially
belongs to just one context, and no relationships between them are
possible.
Another thing is that the http://cayenne.apache.org/doc/nested-datacontexts.html
states that nested contexts are not available in ROP, is that still?
Andrey has been working on the ROP version of nested contexts. I
Hi
I have tried to use the nested contexts today. I tried a
very simple thing, creating two objects one in the parent
one in the child context, then linking them together:
ObjectContext aContext = ContextManager.getNewContext();
ObjectContext childContext =
aContext.createChildContext
10 matches
Mail list logo