You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Michelle Caisse (JIRA)" <ji...@apache.org> on 2008/01/04 23:44:34 UTC

[jira] Resolved: (JDO-497) Add behavior for relationship updates to specification and tck tests

     [ https://issues.apache.org/jira/browse/JDO-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michelle Caisse resolved JDO-497.
---------------------------------

    Resolution: Fixed

Merged changes to tck2-legacy. Completed: At revision: 609039  


> Add behavior for relationship updates to specification and tck tests
> --------------------------------------------------------------------
>
>                 Key: JDO-497
>                 URL: https://issues.apache.org/jira/browse/JDO-497
>             Project: JDO
>          Issue Type: New Feature
>          Components: tck2, tck2-legacy
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>            Assignee: Michelle Caisse
>             Fix For: JDO 2 maintenance release 1
>
>
> Add relationship tests
> One-many (Department-Employee)
> Create Employee; add to Department.employees
> Remove Employee from Department.employees
> Add existing Employee to Department.employees where Employee.department == null
> Add existing Employee to Department.employees where Employee.department != null
> Delete Department
> Many-one (Employee-Department)
> Create Employee; set Employee.department
> Change Employee.department from null to existing Department
> Change Employee.department from one Department to another
> Set Employee.department to null
> Delete Employee with Employee.department != null
> One-Zero (Employee-Insurance)
> Set Employee.insurance to null
> Set Employee.insurance to created Insurance
> Set Employee.insurance to existing Insurance
> Delete Employee
> Zero-One (Insurance-Employee)
> Set Insurance.employee to null
> Set Insurance.employee to different Employee
> Delete Insurance
> Many-Many (Employee-Project)
> Add created Project to Employee.projects
> Remove Project from Employee.projects
> Delete Employee

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.