From jdo-dev-return-4622-apmail-db-jdo-dev-archive=www.apache.org@db.apache.org Sun Jun 18 16:32:51 2006 Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 45439 invoked from network); 18 Jun 2006 16:32:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Jun 2006 16:32:51 -0000 Received: (qmail 30432 invoked by uid 500); 18 Jun 2006 16:32:51 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 30418 invoked by uid 99); 18 Jun 2006 16:32:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2006 09:32:50 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Jun 2006 09:32:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9F238410006 for ; Sun, 18 Jun 2006 16:31:30 +0000 (GMT) Message-ID: <8105443.1150648290649.JavaMail.jira@brutus> Date: Sun, 18 Jun 2006 16:31:30 +0000 (GMT+00:00) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-382) Add test for selecting and updating an embedded field In-Reply-To: <8663769.1149015033411.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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