Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 50041 invoked from network); 17 Feb 2009 17:13:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Feb 2009 17:13:21 -0000 Received: (qmail 77364 invoked by uid 500); 17 Feb 2009 17:13:20 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 77331 invoked by uid 500); 17 Feb 2009 17:13:20 -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 77320 invoked by uid 99); 17 Feb 2009 17:13:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 09:13:20 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2009 17:13:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 97EFE234C495 for ; Tue, 17 Feb 2009 09:12:59 -0800 (PST) Message-ID: <464473460.1234890779620.JavaMail.jira@brutus> Date: Tue, 17 Feb 2009 09:12:59 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-919) JUnit for Bi-directional OneToOne with null relationships In-Reply-To: <1199712251.1234301399586.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/OPENJPA-919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-919: --------------------------------- Attachment: OPENJPA-919-test-branches12x.patch JUnit testcases that show simple null relations work, but the more complex example from David Blevins fails if the OneOneABean uses 'C' instead of 'c' as the variable name for the OneOneCBean relation. > JUnit for Bi-directional OneToOne with null relationships > --------------------------------------------------------- > > Key: OPENJPA-919 > URL: https://issues.apache.org/jira/browse/OPENJPA-919 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 1.2.0 > Reporter: Donald Woods > Priority: Critical > Fix For: 1.2.1, 1.3.0, 2.0.0 > > Attachments: jpa-nullrelation.tar.gz, OPENJPA-919-test-branches12x.patch, OPENJPA-919-trunk.patch > > > Testcase to verify relationships in a bi-directional OneToOne are null (as tested for by the EJB TCK) when: > 1) the relations are not set (should default to null) > 2) the relations are explicitly set to null -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.