Apache JDO Project - [jira] Updated: (JDO-497) Add behavior for relationship updates to

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > June 2007 > [jira] Updated: (JDO-497) Add behavior for relationship updates to





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (JDO-497) Add behavior for relationship updates to
Craig Russell (JIRA)

2007-06-11, 7:11 pm


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Craig Russell updated JDO-497:
------------------------------

Description:
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


was:
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

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

Zero-One (Insurance-Employee)
Set Insurance.employee to null
Set Insurance.employee to different Employee

Many-Many (Employee-Project)
Add created Project to Employee.projects
Remove Project from Employee.projects



Added delete cases

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


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com