db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jdo Wiki] Trivial Update of "MappingCollections" by MichelleCaisse
Date Fri, 14 Oct 2005 01:12:42 GMT
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|| <field serialized="true">|| <field name="''name''">||
- ||er|| <map embedded-key="true" embedded-value="true">|| <field name="''name''"
table="''join_table''">||
+ ||efk|| <map embedded-key="true" embedded-value="true">|| <field name="''name''"
table="''join_table''">||
  ||es|| <map embedded-key="true" serialized-value="true">|| <field name="''name''"
table="''join_table''">||
  

Mime
View raw message