openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-919) JUnit for Bi-directional OneToOne with null relationships
Date Tue, 17 Feb 2009 17:12:59 GMT

     [ 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.


Mime
View raw message