Re: Writing blobs fails

2012-07-05 Thread Ольга Ткачева
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

Re: onPostAdd is called on CommitChanges...

2012-07-05 Thread Bruno René Santos
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

Re: onPostAdd is called on CommitChanges...

2012-07-05 Thread Andrus Adamchik
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

Re: onPostAdd is called on CommitChanges...

2012-07-05 Thread Bruno René Santos
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

Re: onPostAdd is called on CommitChanges...

2012-07-05 Thread Andrus Adamchik
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

Fwd: onPostAdd is called on CommitChanges...

2012-07-05 Thread Bruno René Santos
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