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 2006/06/08 20:04:30 UTC

[jira] Commented: (JDO-382) Add test for selecting and updating an embedded field

    [ http://issues.apache.org/jira/browse/JDO-382?page=comments#action_12415392 ] 

Michelle Caisse commented on JDO-382:
-------------------------------------

This test will be added as a method in org.apache.jdo.tck.models.embedded.SecondClassObjectsTrackTheirChanges.

> Add test for selecting and updating an embedded field
> -----------------------------------------------------
>
>          Key: JDO-382
>          URL: http://issues.apache.org/jira/browse/JDO-382
>      Project: JDO
>         Type: Test

>   Components: tck20
>     Versions: JDO 2 final
>     Reporter: Craig Russell
>     Assignee: Michelle Caisse
>      Fix For: JDO 2 maintenance release 1

>
> If you select an embedded field and change it, we need to verify that the object has changed. 
> Currently no test exists for this case.
> Select Address from Employee where name.startsWith('Michael')
> address.zip = "94040";
> tx.commit();
> verify that address.zip has been changed in the database.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira