Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 83586 invoked from network); 9 Sep 2007 15:43:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Sep 2007 15:43:50 -0000 Received: (qmail 78804 invoked by uid 500); 9 Sep 2007 15:43:44 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 78793 invoked by uid 99); 9 Sep 2007 15:43:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2007 08:43:44 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 Sep 2007 15:43:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E479E714209 for ; Sun, 9 Sep 2007 08:43:29 -0700 (PDT) Message-ID: <20610982.1189352609932.JavaMail.jira@brutus> Date: Sun, 9 Sep 2007 08:43:29 -0700 (PDT) From: "Andy Jefferson (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-521) Create tests for relationship mapping (spec section 15.3) In-Reply-To: <18770819.1187734830541.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JDO-521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526000 ] Andy Jefferson commented on JDO-521: ------------------------------------ The negative test I was expecting to find was where you set up something like this Employee emp1 = new FullTimeEmployee(); MedicalInsurance ins1 = new MedicalInsurance(); Employee emp2 = new PartTimeEmployee(); emp1.setMedicalInsurance(ins1); ins1.setEmployee(emp2); pm.makePersistent(emp1); so in a single user operation inconsistent data is provided (hence independent of when data is flushed to the datastore) hence an expected JDOUserException. Does this exist ? > Create tests for relationship mapping (spec section 15.3) > --------------------------------------------------------- > > Key: JDO-521 > URL: https://issues.apache.org/jira/browse/JDO-521 > Project: JDO > Issue Type: Test > Components: tck2 > Affects Versions: JDO 2 maintenance release 1 > Reporter: Michelle Caisse > Assignee: Michelle Caisse > Attachments: JDO-521.patch > > > We need a set of tests to test that an implementation syncs both sides of a relationship on flush(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.