openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r732448 - /openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml
Date Wed, 07 Jan 2009 19:52:48 GMT
Author: ppoddar
Date: Wed Jan  7 11:52:47 2009
New Revision: 732448

URL: http://svn.apache.org/viewvc?rev=732448&view=rev
Log:
OPENJPA-850: Document alternative javax.persistence.jdbc.* keys introduced in JPA 2.0

Modified:
    openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml

Modified: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml?rev=732448&r1=732447&r2=732448&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_conf.xml Wed Jan  7 11:52:47 2009
@@ -359,10 +359,11 @@
         </para>
 <programlisting>
 true(CacheSize=1000)
-</programlisting>
+</programlisting>
+
         <para>
 The remainder of this chapter reviews the set of configuration properties
-OpenJPA recognizes.
+OpenJPA recognizes. 
         </para>
     </section>
     <section id="ref_guide_conf_openjpa">
@@ -383,7 +384,52 @@
 majority of developers can omit them. The following properties apply to any
 OpenJPA back-end, though the given descriptions are tailored to OpenJPA's
 default JDBC store.
-        </para>
+        </para>
+        
+        <para>
+Few of the properties recognized by OpenJPA have been standardized in JPA 2.0 
+Specification using equivalent names. These properties can be specified either
+by the JPA standard key or equivalent OpenJPA key. Specifying the same key once
+as JPA standard key and again as equivalent OpenJPA key in the same configuration, 
+however, is not allowed. The following table lists these standard JPA properties 
+and their OpenJPA equivalent.
+        </para>
+    <table tocentry="1">
+        <title>
+            Standard JPA Properties and OpenJPA equivalents
+        </title>
+        <tgroup rowsep="1" colsep="8" align="left" cols="2">
+            <colspec colname="StandardJPA"/>
+            <colspec colname="OpenJPAEquivalent"/>
+            <thead>
+                <row>
+                    <entry colname="StandardJPA">Standard JPA 2.0</entry>
+                    <entry colname="OpenJPAEquivalent">OpenJPA Equivalent</entry>
+                </row>
+            </thead>
+            <tbody>
+                <row>
+                    <entry colname="StandardJPA">javax.persistence.jdbc.driver</entry>
+                    <entry colname="OpenJPAEquivalent">openjpa.ConnectionDriverName</entry>
+                </row>
+                <row>
+                    <entry colname="StandardJPA">javax.persistence.jdbc.url</entry>
+                    <entry colname="OpenJPAEquivalent">openjpa.ConnectionURL</entry>
+                </row>
+                <row>
+                    <entry colname="StandardJPA">javax.persistence.jdbc.user</entry>
+                    <entry colname="OpenJPAEquivalent">openjpa.ConnectionUserName</entry>
+                </row>
+                <row>
+                    <entry colname="StandardJPA">javax.persistence.jdbc.password</entry>
+                    <entry colname="OpenJPAEquivalent">openjpa.ConnectionPassword</entry>
+                </row>
+           </tbody>
+        </tgroup>
+    </table>
+        
+        
+        
         <!--
         <section id="openjpa.AggregateListeners">
             <title>
@@ -3863,7 +3909,8 @@
 <classname>org.apache.openjpa.jdbc.kernel.BatchingConstraintUpdateManager</classname>
 </ulink>.
 
-            </para>
-        </section>
+            </para>
+        </section>
+        
     </section>
 </chapter>



Mime
View raw message