From jdo-commits-return-966-apmail-db-jdo-commits-archive=www.apache.org@db.apache.org Fri Oct 14 00:57:39 2005 Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 13447 invoked from network); 14 Oct 2005 00:57:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2005 00:57:39 -0000 Received: (qmail 95720 invoked by uid 500); 14 Oct 2005 00:57:39 -0000 Mailing-List: contact jdo-commits-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-commits@db.apache.org Received: (qmail 95709 invoked by uid 99); 14 Oct 2005 00:57:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2005 17:57:38 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id AA3C9515 for ; Fri, 14 Oct 2005 02:57:17 +0200 (CEST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: jdo-commits@db.apache.org Date: Fri, 14 Oct 2005 00:57:17 -0000 Message-ID: <20051014005717.11718.90492@ajax.apache.org> Subject: [Jdo Wiki] Update of "MappingCollections" by MichelleCaisse X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Jdo Wiki" for change notification. The following page has been changed by MichelleCaisse: http://wiki.apache.org/jdo/MappingCollections The comment on the change is: Notes and musings ------------------------------------------------------------------------------ - = Maps of Persistence Capable (PC) Types = + == Maps of Persistence Capable (PC) Types == - We test the following cases: + These are maps where either the key or value is a PC type. We test the following cases: - * Collection field is serialized in the main table (s) + * Collection field is serialized in the main table ('''s''') - * Both key and value are embedded in a join table, the PC member of the mapped pair is a reference to a secondary table (er) + * Both key and value are embedded in a join table, the PC member of the mapped pair is a reference to a secondary table ('''er''') - * PC key or value is serialized in a join table, the non-PC member of the mapped pair is stored in another column of the join table (es) + * PC key or value is serialized in a join table, the non-PC member of the mapped pair is stored in another column of the join table ('''es''') - = Maps of Java Types = + == Maps of Java Types == + These are maps where both key and value are Java types. We test the following cases: + * Collection field is serialized in the main table ('''s''') + * Both key and value are embedded in a join table ('''er''') - We test the following cases: - * Collection field is serialized in the main table - * Both key and value are embedded in a join table + == Metadata for Maps == + The metadata for these cases, assuming the key is a String and the value is a PC type, is: + ||case||jdo metadata||orm metadata|| + ||s|| || || + ||er|| || || + ||es|| || ||