From jdo-commits-return-968-apmail-db-jdo-commits-archive=www.apache.org@db.apache.org Fri Oct 14 01:13:04 2005 Return-Path: Delivered-To: apmail-db-jdo-commits-archive@www.apache.org Received: (qmail 41233 invoked from network); 14 Oct 2005 01:13:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Oct 2005 01:13:04 -0000 Received: (qmail 8836 invoked by uid 500); 14 Oct 2005 01:13:03 -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 8825 invoked by uid 99); 14 Oct 2005 01:13:03 -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 18:13:03 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4ED32515 for ; Fri, 14 Oct 2005 03:12:42 +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 01:12:42 -0000 Message-ID: <20051014011242.15330.77157@ajax.apache.org> Subject: [Jdo Wiki] Trivial 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 ------------------------------------------------------------------------------ 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''') - * Both key and value are embedded in a join table, the PC member of the mapped pair is mapped to a foreign key to a secondary table ('''er''') + * Both key and value are embedded in a join table, the PC member of the mapped pair is mapped to a foreign key to a secondary table ('''efk''') * 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 == 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''') + * Both key and value are embedded in a join table ('''efk''') == 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|| || || + ||efk|| || || ||es|| || ||