From general-return-635-apmail-db-general-archive=db.apache.org@db.apache.org Tue Jan 15 06:29:57 2013 Return-Path: X-Original-To: apmail-db-general-archive@www.apache.org Delivered-To: apmail-db-general-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1F4A3E6CA for ; Tue, 15 Jan 2013 06:29:57 +0000 (UTC) Received: (qmail 36915 invoked by uid 500); 15 Jan 2013 06:29:55 -0000 Delivered-To: apmail-db-general-archive@db.apache.org Received: (qmail 36734 invoked by uid 500); 15 Jan 2013 06:29:55 -0000 Mailing-List: contact general-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: general@db.apache.org List-Id: Delivered-To: mailing list general@db.apache.org Received: (qmail 36668 invoked by uid 99); 15 Jan 2013 06:29:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 06:29:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jan 2013 06:29:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0570D2388C38 for ; Tue, 15 Jan 2013 06:29:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r846705 [9/20] - in /websites/production/db/content/jdo: ./ guides/ images/ images/logos/ releases/ Date: Tue, 15 Jan 2013 06:29:02 -0000 To: general@db.apache.org From: andyj@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130115062907.0570D2388C38@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: websites/production/db/content/jdo/jdo_v_jpa_orm.html ============================================================================== --- websites/production/db/content/jdo/jdo_v_jpa_orm.html (original) +++ websites/production/db/content/jdo/jdo_v_jpa_orm.html Tue Jan 15 06:29:01 2013 @@ -1,13 +1,500 @@ -Java Data Objects (JDO) - JDO .v. JPA : Object/Relational Mapping

Which ORM specification ?

+ + + + + + Maven - + JDO .v. JPA : Object/Relational Mapping + + + + + + + +

+ +
+ +
+
+
+ + +

Which ORM specification ?

+

There are 2 prevalent specification in the Java ORM world. JDO provides the most complete definition, whilst JPA is the most recent. -

Relationships

+

+ +

Relationships

+

In this guide we show the different types of ORM relation commonly used, and mark against it which specification supports it. This list is not yet complete but will be added to to provide a comprehensive list of relationship type and where you can find it. -

Field TypeRelationJDOJPA
PC1-1 Unidirectional
PC1-1 Bidirectional
PC1-1 serialised
PC1-1 CompoundIdentity Unidirectional
PC1-N CompoundIdentity Collection Bidirectional
PC1-N CompoundIdentity Map Bidirectional
Interface1-1 Unidirectional
Interface1-1 Bidirectional
Interface1-1 serialised?
Collection<PC>1-N ForeignKey Unidirectional Collection
Collection<PC>1-N ForeignKey Bidirectional Collection
Collection<PC>1-N JoinTable Unidir ectional Collection
Collection<PC>1-N JoinTable Bidirectional Collection
Collection<Non-PC>1-N JoinTable Collection
Collection<PC>1-N JoinTable Collection using shared JoinTable
Collection<PC>1-N ForeignKey Collection using shared ForeignKey
Collection<PC>M-N JoinTable
Collection<PC>1-N CompoundIdentity Unidirectional
Collection<PC>1-N serialised Collection
Collection<PC>1-N JoinTable Collection of serialised elements
List<PC>1-N ForeignKey Unidirectional Indexed List
List<PC>1-N ForeignKey Bidirectional Indexed List
List<PC>1-N JoinTable Unidirectional Indexed List
List<PC>1-N JoinTable Bidirectional Indexed List
List<Non-PC>1-N JoinTable Indexed List
List<PC>1-N ForeignKey Unidirectional Ordered List
List<PC>1-N ForeignKey Bidirectional Ordered List
List<PC>1-N JoinTable Unidirectional Ordered List
List<PC>1-N JoinTable Bidirectional Ordered List
Map<PC, PC>1-N JoinTable Map
Map<Non-PC, PC>1-N JoinTable Map
Map<PC, Non-PC>1-N JoinTable Map
Map<Non-PC, Non-PC>1-N JoinTable Map
Map<Non-PC, PC>1-N ForeignKey Map Unidirectional (key stored in value)
Map<Non-PC, PC>1-N ForeignKey Map Bidirectional (key stored in value)
Map<PC, Non-PC>1-N ForeignKey Map Unidirectional (value stored in key)
Map<PC, PC>1-N serialised Map
Map<PC, PC>1-N JoinTable Map of serialised keys/values
PC[ ]1-N ForeignKey Unidirectional Array
PC[ ]1-N JoinTable Unidirectional Array
PC[ ]1-N serialised Array
Non-PC[ ]1-N JoinTable Unidirectional Array

\ No newline at end of file +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Field TypeRelationJDOJPA
PC1-1 Unidirectional
PC1-1 Bidirectional
PC1-1 serialised
PC1-1 CompoundIdentity Unidirectional
PC1-N CompoundIdentity Collection Bidirectional
PC1-N CompoundIdentity Map Bidirectional
Interface1-1 Unidirectional
Interface1-1 Bidirectional
Interface1-1 serialised?
Collection<PC>1-N ForeignKey Unidirectional Collection
Collection<PC>1-N ForeignKey Bidirectional Collection
Collection<PC>1-N JoinTable Unidirectional Collection
Collection<PC>1-N JoinTable Bidirectional Collection
Collection<Non-PC>1-N JoinTable Collection
Collection<PC>1-N JoinTable Collection using shared JoinTable
Collection<PC>1-N ForeignKey Collection using shared ForeignKey
Collection<PC>M-N JoinTable
Collection<PC>1-N CompoundIdentity Unidirectional
Collection<PC>1-N serialised Collection
Collection<PC>1-N JoinTable Collection of serialised elements
List<PC>1-N ForeignKey Unidirectional Indexed List
List<PC>1-N ForeignKey Bidirectional Indexed List
List<PC>1-N JoinTable Unidirectional Indexed List
List<PC>1-N JoinTable Bidirectional Indexed List
List<Non-PC>1-N JoinTable Indexed List
List<PC>1-N ForeignKey Unidirectional Ordered List
List<PC>1-N ForeignKey Bidirectional Ordered List
List<PC>1-N JoinTable Unidirectional Ordered List
List<PC>1-N JoinTable Bidirectional Ordered List
Map<PC, PC>1-N JoinTable Map
Map<Non-PC, PC>1-N JoinTable Map
Map<PC, Non-PC>1-N JoinTable Map
Map<Non-PC, Non-PC>1-N JoinTable Map
Map<Non-PC, PC>1-N ForeignKey Map Unidirectional (key stored in value)
Map<Non-PC, PC>1-N ForeignKey Map Bidirectional (key stored in value)
Map<PC, Non-PC>1-N ForeignKey Map Unidirectional (value stored in key)
Map<PC, PC>1-N serialised Map
Map<PC, PC>1-N JoinTable Map of serialised keys/values
PC[ ]1-N ForeignKey Unidirectional Array
PC[ ]1-N JoinTable Unidirectional Array
PC[ ]1-N serialised Array
Non-PC[ ]1-N JoinTable Unidirectional Array
+
+
+ + +
+
+
+
+
+ + + Modified: websites/production/db/content/jdo/jdocentral.html ============================================================================== --- websites/production/db/content/jdo/jdocentral.html (original) +++ websites/production/db/content/jdo/jdocentral.html Tue Jan 15 06:29:01 2013 @@ -1,17 +1,256 @@ -Java Data Objects (JDO) - Home

JDOCentral at Apache JDO

+ + + + + + Maven - + Home + + + + + + + + +

+ +
+ +
+
+
+ + +

JDOCentral at Apache JDO

+

Welcome to the new home of JDOCentral! -

+

+

JDOCentral was a privately maintained site. Apache JDO is home for the development of the JDO specification and the TCK. - The DataNucleus site is home for the development of + The DataNucleus site is home for the development of the Reference Implementation of the JDO specification. -

+

+

Visit the other pages on the Apache JDO site to find out what's going on with JDO. - Join the mailing lists to get involved + Join the mailing lists to get involved and provide feedback. -


\ No newline at end of file +

+
+ + +
+
+
+
+
+ + + Modified: websites/production/db/content/jdo/jdoconfig_dtd.html ============================================================================== --- websites/production/db/content/jdo/jdoconfig_dtd.html (original) +++ websites/production/db/content/jdo/jdoconfig_dtd.html Tue Jan 15 06:29:01 2013 @@ -1,36 +1,275 @@ -Java Data Objects (JDO) - JDOConfig DTD/XSD

Meta-Data - JDOConfig

+ + + + + + Maven - + JDOConfig DTD/XSD + + + + + + + +

+ +
+ +
+
+
+ + +

Meta-Data - JDOConfig

+

JDO allows you to define a file jdoconfig.xml that specifies the properties for a named PMF. As always with XML, the metadata must match the defined DTD/XSD for - that file type. This section describes the content of the jdoconfig files. - All jdoconfig files must contain a valid DTD/DOCTYPE specification. You can use + that file type. This section describes the content of the jdoconfig files. + All jdoconfig files must contain a valid DTD/DOCTYPE specification. You can use PUBLIC or SYSTEM versions of these. -

- Here are a few examples valid for jdoconfig files with DTD specifications

-
+            

+ Here are a few examples valid for jdoconfig files with DTD specifications +

+
 <!DOCTYPE jdoconfig PUBLIC 
-    "-//Sun Microsystems, Inc.//DTD Java Data Objects Configuration 3.0//EN"
-    "http://java.sun.com/dtd/jdoconfig_3_0.dtd">
+    "-//Sun Microsystems, Inc.//DTD Java Data Objects Configuration 3.0//EN"
+    "http://java.sun.com/dtd/jdoconfig_3_0.dtd">
 
 
-<!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig.dtd">
-

- Here is an example valid for jdoconfig files with XSD specification +<!DOCTYPE jdoconfig SYSTEM "file:/javax/jdo/jdoconfig.dtd">

+
+

+ Here is an example valid for jdoconfig files with XSD specification

-
-<?xml version="1.0" encoding="UTF-8" ?>
-<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
-     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-     xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig
-        http://java.sun.com/xml/ns/jdo/jdoconfig_3_0.xsd">
+            
+<?xml version="1.0" encoding="UTF-8" ?>
+<jdoconfig xmlns="http://java.sun.com/xml/ns/jdo/jdoconfig"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/jdoconfig
+        http://java.sun.com/xml/ns/jdo/jdoconfig_3_0.xsd">
     ...
 </jdoconfig>
-

- Your MetaData should match either the DTD - or the XSD specification. -


\ No newline at end of file +

+ Your MetaData should match either the DTD + or the XSD specification. +

+
+ + +
+
+
+
+
+ + +