Joseph, thank you for your email.
This was just fixed on 3.0, 3.1 and 3.2 (trunk) branches - see
https://issues.apache.org/jira/browse/CAY-1721
2012/7/3 Joseph Senecal :
> Background:
> Deploying Cayenne program to some new Linux servers, we're getting exceptions
> when the program tries to wr
Yes I am using nested object contexts. The problem is that I am calling
some newObject() to create new relationships on the post add phase. How can
I do this safely when using nested ObjectContexts and CommitChanges? My
client wants that every commitchanges must be done to the DB but the
rollbackch
Any chance you are using nested ObjectContexts? It appears the callback happens
during commit from child to parent context when a new object is created
registered in parent.
Andrus
On Jul 5, 2012, at 4:03 PM, Bruno René Santos wrote:
> Here it goes:
>
> MyClass.onPostAdd: 19
> Hidden Source C
Here it goes:
MyClass.onPostAdd: 19
Hidden Source Calls
Method.invoke: 601
CallbackOnEntity.performCallback: 46
LifecycleCallbackEventHander.performCallbacks: 184
LifecycleCallbackEventHander.performCallbacks: 151
LifecycleCallbackRegistry..performCallbacks: 222
BaseContext.injectInitialValue: 665
I guess you had an attachment here that was stripped off by the list managing
software. Can you post it as text?
On Jul 5, 2012, at 11:43 AM, Bruno René Santos wrote:
> Here goes the callstack for this problem when I call commitChanges()
>
> -- Forwarded message --
> From: Bruno
Here goes the callstack for this problem when I call commitChanges()
-- Forwarded message --
From: Bruno René Santos
Date: Thu, Jul 5, 2012 at 12:27 AM
Subject: onPostAdd is called on CommitChanges...
To: user@cayenne.apache.org
I am using Cayenne 3.1B1 and when I call commitCha