db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy Jefferson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-521) Create tests for relationship mapping (spec section 15.3)
Date Sun, 09 Sep 2007 15:43:29 GMT

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


Mime
View raw message