Hello all, I am using now Cayenne 3.1M4 Snapshot and first let me just say that its performance is much better than 3.0.1 (How did you do it? just curious) but I am having a strange problem.
I am creating a web application with popups as item details where I use child contexts in order to able to rollback changes on these popups without ruining the level below the popup. One of the quirks we have, by client request, is that any commit changes on any popup saves directly to the DB but we still need to mantain the local roolback on each popup. The problem that I am getting is that when I create a Item A on a popup that has connection to items B and C. But when I try to call A.getBArray() I get B's from the current context and B's from the the past context of the popup where I created A.... Everything get doubled! For now I overrode readProperty and filter any item that has the objectcontext different from the current context but I would like to know how to solve this without using this kind of 'subterfuges'. Regards Bruno Santos -- Bruno René Santos | brunor...@holos.pt | Gestor de Projectos | Analista | Programador | Investigador Holos - Soluções Avançadas em Tecnologias de Informação S.A. Parque de Ciência e Tecnologia de Almada/Setúbal . Edifício Madan Parque Rua dos Inventores . Quinta da Torre . 2825 - 182 Caparica . Portugal Phone: +351 210 438 686 . Fax: +351 210 438 687 . Web: www.holos.pt This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you have received this email in error please notify Bruno René Santos by telephone on +351 210 438 686