You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by an...@apache.org on 2007/10/03 19:19:16 UTC

svn commit: r581661 - in /db/jdo/site: docs/jdo_v_jpa.html xdocs/jdo_v_jpa.xml

Author: andyj
Date: Wed Oct  3 10:19:15 2007
New Revision: 581661

URL: http://svn.apache.org/viewvc?rev=581661&view=rev
Log:
JDO-537 Typo

Modified:
    db/jdo/site/docs/jdo_v_jpa.html
    db/jdo/site/xdocs/jdo_v_jpa.xml

Modified: db/jdo/site/docs/jdo_v_jpa.html
URL: http://svn.apache.org/viewvc/db/jdo/site/docs/jdo_v_jpa.html?rev=581661&r1=581660&r2=581661&view=diff
==============================================================================
--- db/jdo/site/docs/jdo_v_jpa.html (original)
+++ db/jdo/site/docs/jdo_v_jpa.html Wed Oct  3 10:19:15 2007
@@ -2,15 +2,17 @@
           @import url("./style/maven-base.css");
           
 			    @import url("./style/maven-theme.css");</style><link rel="stylesheet" href="./style/print.css" type="text/css" media="print"></link><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></meta><meta name="keywords" content="JPA,EJB3,JDO,ORM"></meta></head><body class="composite"><div id="banner"><a href="http://db.apache.org/jdo" id="projectLogo"><img alt="Java Data Objects (JDO)" src="./images/JDOx120.gif"></img></a><div class="clear"><hr></hr></div></div><div id="breadcrumbs"><div class="xright"></div><div class="clear"><hr></hr></div></div><div id="leftColumn"><div id="navcolumn"><div id="menuGeneral"><h5>General</h5><ul><li class="none"><a href="index.html">Home</a></li><li class="none"><a href="why_jdo.html">Why JDO?</a></li><li class="none"><strong><a href="jdo_v_jpa.html">JDO v JPA</a></strong></li><li class="none"><a href="jdo_v_jpa_orm.html">JDO v JPA : ORM</a></li><li class="none"><a href="downloads.html">Downloads</a></li><li class="none">
 <a href="http://www.apache.org/licenses/LICENSE-2.0" class="externalLink" title="External Link">License</a></li></ul></div><br></br><div id="menuJDO_Implementation"><h5>JDO Implementation</h5><ul><li class="none"><a href="specifications.html">Specifications</a></li><li class="none"><a href="tck.html">TCK</a></li></ul></div><br></br><div id="menuJDO_Usage"><h5>JDO Usage</h5><ul><li class="none"><a href="impls.html">Implementations</a></li><li class="none"><a href="javadoc.html">API Javadoc</a></li><li class="none"><a href="class_types.html">Types of Classes</a></li><li class="none"><a href="extents.html">Extents</a></li><li class="none"><a href="enhancement.html">Bytecode Enhancement</a></li><li class="none"><a href="jdohelper.html">JDOHelper</a></li><li class="none"><a href="exceptions.html">Exceptions</a></li><li class="collapsed"><a href="metadata.html">MetaData</a></li><li class="none"><a href="state_transition.html">Object States</a></li><li class="collapsed"><a href="gu
 ides.html">Guides</a></li><li class="none"><a href="references.html">References</a></li><li class="none"><a href="glossary.html">Glossary</a></li></ul></div><br></br><div id="menuCommunity"><h5>Community</h5><ul><li class="none"><a href="get-involved.html">Get Involved</a></li><li class="none"><a href="team-list.html">Project Team</a></li><li class="none"><a href="mail-lists.html">Mailing Lists</a></li><li class="none"><a href="faq.html">FAQ</a></li><li class="none"><a href="http://wiki.apache.org/jdo" class="externalLink" title="External Link">Wiki</a></li></ul></div><br></br><div id="menuDevelopment"><h5>Development</h5><ul><li class="none"><a href="roadmap.html">RoadMap / TODO</a></li><li class="none"><a href="svn.html">Source Code</a></li><li class="none"><a href="http://cwiki.apache.org/GMOxDEV/coding-standards.html" class="externalLink" title="External Link">Coding Standards</a></li><li class="none"><a href="issuetracking.html">Issue Tracking</a></li><li class="none"><
 a href="dependencies.html">Dependencies</a></li></ul></div><br></br></div></div><div id="bodyColumn"><div class="contentBox"><div class="section"><a name="Which_Persistence_Specification__"></a><h2>Which Persistence Specification ?</h2><p>
-                There are several competing persistence technologies available for Java. Two of these are "standardised" 
-                (via the JCP). When developing your application you need to choose the most appropriate technology for your 
-                needs. <B>Java Data Objects (JDO)</B> has been a standard since 2001 with the release of JDO1. It was 
-                improved with the release of JDO2. Just to confuse issues the <B>Java Persistence API (JPA)</B> was 
-                recently approved in its JPA1 form, and JDO2.1 will offer an update to JDO2 building on some of
-                the new features of JPA1. Below we show some of the differences of these 3 standards to give you 
+                There are several competing persistence technologies available for Java. 
+				Two of these are "standardised" (via the JCP). When developing your application you need 
+				to choose the most appropriate technology for your needs. <B>Java Data Objects (JDO)</B> 
+				has been a standard since 2001 with the release of JDO1. It was improved with the release 
+				of JDO2. Just to confuse issues the <B>Java Persistence API (JPA)</B> was recently approved 
+				in its JPA1 form, and JDO2.1 will offer an update to JDO2 building on some of the new 
+				features of JPA1. Below we show some of the differences of these 2 standards to give you 
                 assistance in selecting what you need. Highlighted in bold are the notable differences where one 
                 specification provides something not available in the other.
-            </p><table class="bodyTable"><tr class="a"><th width="20%">Feature</th><th width="40%">JDO2</th><th width="40%">JPA1</th></tr><tr class="b"><td>JDK Requirement</td><td><B>1.3+</B></td><td>1.5+</td></tr><tr class="a"><td>Usage</td><td>J2EE, J2SE</td><td>J2EE, J2SE</td></tr><tr class="b"><td>Persistence specification mechanism</td><td>MetaData, Annotations <i>[1]</i></td><td>MetaData, Annotations</td></tr><tr class="a"><td>Datastore supported</td><td><B>Any</B></td><td>RDBMS only</td></tr><tr class="b"><td>Restrictions on persisted classes</td><td><B>no-arg constructor (could be added by compiler/enhancer)</B></td><td>No final classes. No final methods. Non-private no-arg constructor. Identity Field</td></tr><tr class="a"><td>Transactions</td><td><B>Pessimistic</B>, Optimistic</td><td>Optimistic</td></tr><tr class="b"><td>Object Identity</td><td><B>datastore-identity</B>, application-identity</td><td>application-identity</td></tr><tr class="a"><td>Object Identity g
 eneration</td><td>Sequence, Table, Identity, Auto, <B>UUID String, UUID Hex</B></td><td>Sequence, Table, Identity, Auto</td></tr><tr class="b"><td>Change objects identity</td><td><B>Throw exception when not allowed</B></td><td>Undefined, so expect anything !!</td></tr><tr class="a"><td>Supported types</td><td>Java primitive types, wrappers of primitive types, java.lang.String, <B>java.lang.Number</B>, java.math.BigInteger, java.math.BigDecimal,
+            </p><table class="bodyTable"><tr class="a"><th width="20%">Feature</th><th width="40%">JDO2</th><th width="40%">JPA1</th></tr><tr class="b"><td>JDK Requirement</td><td><B>1.3+</B></td><td>1.5+</td></tr><tr class="a"><td>Usage</td><td>J2EE, J2SE</td><td>J2EE, J2SE</td></tr><tr class="b"><td>Persistence specification mechanism</td><td>MetaData, Annotations <i>[1]</i></td><td>MetaData, Annotations</td></tr><tr class="a"><td>Datastore supported</td><td><B>Any</B></td><td>RDBMS only</td></tr><tr class="b"><td>Restrictions on persisted classes</td><td><B>no-arg constructor (could be added by compiler/enhancer)</B></td><td>No final classes. No final methods. Non-private no-arg constructor. Identity Field.
+					    Version Field.</td></tr><tr class="a"><td>Transactions</td><td><B>Pessimistic</B>, Optimistic</td><td>Optimistic</td></tr><tr class="b"><td>Object Identity</td><td><B>datastore-identity</B>, application-identity</td><td>application-identity</td></tr><tr class="a"><td>Object Identity generation</td><td>Sequence, Table, Identity, Auto, <B>UUID String, UUID Hex</B></td><td>Sequence, Table, Identity, Auto</td></tr><tr class="b"><td>Change objects identity</td><td><B>Throw exception when not allowed</B></td><td>Undefined, so expect anything !!</td></tr><tr class="a"><td>Supported types</td><td>Java primitive types, wrappers of primitive types, java.lang.String, <B>java.lang.Number</B>, java.math.BigInteger, java.math.BigDecimal,
                         <B>java.util.Currency, java.util.Locale</B>, java.util.Date, java.sql.Time, java.sql.Date, java.sql.Timestamp, java.io.Serializable,
                         <B>boolean[]</B>, byte[], char[], <B>double[], float[], int[], long[], short[]</B>,
                         <B>java.lang.Object</B>, <B>interface</B>,

Modified: db/jdo/site/xdocs/jdo_v_jpa.xml
URL: http://svn.apache.org/viewvc/db/jdo/site/xdocs/jdo_v_jpa.xml?rev=581661&r1=581660&r2=581661&view=diff
==============================================================================
--- db/jdo/site/xdocs/jdo_v_jpa.xml (original)
+++ db/jdo/site/xdocs/jdo_v_jpa.xml Wed Oct  3 10:19:15 2007
@@ -10,12 +10,13 @@
     <body>
         <section name="Which Persistence Specification ?">
             <p>
-                There are several competing persistence technologies available for Java. Two of these are "standardised" 
-                (via the JCP). When developing your application you need to choose the most appropriate technology for your 
-                needs. <B>Java Data Objects (JDO)</B> has been a standard since 2001 with the release of JDO1. It was 
-                improved with the release of JDO2. Just to confuse issues the <B>Java Persistence API (JPA)</B> was 
-                recently approved in its JPA1 form, and JDO2.1 will offer an update to JDO2 building on some of
-                the new features of JPA1. Below we show some of the differences of these 3 standards to give you 
+                There are several competing persistence technologies available for Java. 
+				Two of these are "standardised" (via the JCP). When developing your application you need 
+				to choose the most appropriate technology for your needs. <B>Java Data Objects (JDO)</B> 
+				has been a standard since 2001 with the release of JDO1. It was improved with the release 
+				of JDO2. Just to confuse issues the <B>Java Persistence API (JPA)</B> was recently approved 
+				in its JPA1 form, and JDO2.1 will offer an update to JDO2 building on some of the new 
+				features of JPA1. Below we show some of the differences of these 2 standards to give you 
                 assistance in selecting what you need. Highlighted in bold are the notable differences where one 
                 specification provides something not available in the other.
             </p>
@@ -48,7 +49,8 @@
                 <tr>
                     <td>Restrictions on persisted classes</td>
                     <td><B>no-arg constructor (could be added by compiler/enhancer)</B></td>
-                    <td>No final classes. No final methods. Non-private no-arg constructor. Identity Field</td>
+                    <td>No final classes. No final methods. Non-private no-arg constructor. Identity Field.
+					    Version Field.</td>
                 </tr>
                 <tr>
                     <td>Transactions</td>