You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by kw...@apache.org on 2006/10/30 15:48:44 UTC
svn commit: r469154 -
/incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml
Author: kwsutter
Date: Mon Oct 30 06:48:43 2006
New Revision: 469154
URL: http://svn.apache.org/viewvc?view=rev&rev=469154
Log:
Incorrect "spelling" of jta-data-source and non-jta-data-source in Section 6 of the manual.
Modified:
incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml
Modified: incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml
URL: http://svn.apache.org/viewvc/incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml?view=diff&rev=469154&r1=469153&r2=469154
==============================================================================
--- incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml (original)
+++ incubator/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_persistence.xml Mon Oct 30 06:48:43 2006
@@ -41,7 +41,7 @@
<para>
OpenJPA also includes the
<ulink url="../javadoc/org/apache/openjpa/persistence/OpenJPAPersistence.html">
-<classname>OpenJPAPersistence</classname></ulink> helper class to provide
+<classname>OpenJPAPersistence</classname></ulink> helper class to provide
additional utility methods.
</para>
</note>
@@ -84,15 +84,15 @@
</para>
<programlisting>
<!ELEMENT persistence (persistence-unit*)>
-<!ELEMENT persistence-unit (description?,provider?,jta-datasource?,
- non-jta-datasource?,(class|jar-file|mapping-file)*,
+<!ELEMENT persistence-unit (description?,provider?,jta-data-source?,
+ non-jta-data-source?,(class|jar-file|mapping-file)*,
exclude-unlisted-classes?,properties?)>
<!ATTLIST persistence-unit name CDATA #REQUIRED>
<!ATTLIST persistence-unit transaction-type (JTA|RESOURCE_LOCAL) "JTA">
<!ELEMENT description (#PCDATA)>
<!ELEMENT provider (#PCDATA)>
-<!ELEMENT jta-datasource (#PCDATA)>
-<!ELEMENT non-jta-datasource (#PCDATA)>
+<!ELEMENT jta-data-source (#PCDATA)>
+<!ELEMENT non-jta-data-source (#PCDATA)>
<!ELEMENT mapping-file (#PCDATA)>
<!ELEMENT jar-file (#PCDATA)>
<!ELEMENT class (#PCDATA)>
@@ -119,8 +119,8 @@
</listitem>
<listitem>
<para>
-<literal>transaction-type</literal>: Whether to use managed
-(<literal>JTA</literal>) or local (<literal>RESOURCE_LOCAL</literal>)
+<literal>transaction-type</literal>: Whether to use managed
+(<literal>JTA</literal>) or local (<literal>RESOURCE_LOCAL</literal>)
transaction management.
</para>
</listitem>
@@ -232,7 +232,7 @@
</title>
<programlisting>
// if your persistence.xml file does not contain all settings already, you
-// can add vendor settings to a map
+// can add vendor settings to a map
Properties props = new Properties();
...