Re: deleteObject() and localObject() and object states

2007-01-29 Thread Marcin Skladaniec
Hi Andrus I'm using cayenne HEAD, built just week ago. I wonder if the fact that you are seeing different behaviour has anything to do with fact that my test is in "real" application, while yours is a junit test with mockup objects ? Marcin On 30/01/2007, at 12:48 AM, Andrus Adamchik wrote

Re: deleteObject() and localObject() and object states

2007-01-29 Thread Andrus Adamchik
Hi Marcin, Just got some time to try it out. I am seeing somewhat different (still incorrect) behavior (is this because of the difference in Cayenne version?). I need to investigate this some more, so I opened this bug report: http://issues.apache.org/cayenne/browse/CAY-742 Andrus On J

deleteObject() and localObject() and object states

2007-01-24 Thread Marcin Skladaniec
Hello. I just wanted to share my recent findings about deleteObject() and localObject() in remote cayenne (assuming that there is only one apple in the db) Apple apple1 = (Apple)context1.performQuery(Apple.class).get(0); Apple apple2 = (Apple)context2.performQuery(Apple.class).get(0); contex