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

Craig Russell commented on JDO-382:
-----------------------------------

The proposal is:

Projected SCOs are never owned, projected FCOs are always managed.  Modifying 
unowned SCOs never has an effect on the database.  Modifying FCOs no matter how 
you get them always has an effect if the tx commits.



> 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

Reply via email to