Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6BF2C4B1 for ; Fri, 7 Mar 2014 11:46:06 +0000 (UTC) Received: (qmail 85908 invoked by uid 500); 7 Mar 2014 11:46:06 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 85682 invoked by uid 500); 7 Mar 2014 11:45:48 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 84400 invoked by uid 99); 7 Mar 2014 11:45:43 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2014 11:45:43 +0000 Date: Fri, 7 Mar 2014 11:45:43 +0000 (UTC) From: =?utf-8?Q?Rade_Martinovi=C4=87_=28JIRA=29?= To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-1767) OneToMany relationships owned by the many side aren't properly evicted from the DataCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1767?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D13= 923809#comment-13923809 ]=20 Rade Martinovi=C4=87 commented on OPENJPA-1767: ------------------------------------------ I may have hit this exact same problem. Is this problem resolved? > OneToMany relationships owned by the many side aren't properly evicted fr= om the DataCache > -------------------------------------------------------------------------= ---------------- > > Key: OPENJPA-1767 > URL: https://issues.apache.org/jira/browse/OPENJPA-1767 > Project: OpenJPA > Issue Type: Bug > Components: datacache > Affects Versions: 2.0.0, 2.1.0 > Reporter: Rick Curtis > Priority: Critical > > When working on OPENJPA-1469 I found that the test org.apache.openjpa.per= sistence.spring.TestLibService fails because we have stale data in the cach= e. To recreate this failure, set "openjpa.DataCache","true" in the setup()= method. > The net of the problem is that if the non-owning side of the relationship= exists in the datacache and the relationship is updated on the owning side= , the non-owning side doesn't get updated. -- This message was sent by Atlassian JIRA (v6.2#6252)