You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mi...@apache.org on 2009/03/23 13:42:46 UTC

svn commit: r757388 [4/7] - in /openjpa/trunk: openjpa-examples/src/main/java/ openjpa-examples/src/main/java/META-INF/ openjpa-examples/src/main/java/hellojpa/ openjpa-examples/src/main/java/relations/ openjpa-jdbc/src/main/resources/org/apache/openjp...

Modified: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml?rev=757388&r1=757387&r2=757388&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml Mon Mar 23 12:42:41 2009
@@ -3215,39 +3215,39 @@
 more info about <literal>deleteTableContents</literal>.) Defaults to
 <literal>false</literal>, since the statement may fail if using InnoDB
 tables and delete constraints.
-                    </para>
-                    
+                    </para>
+                    
                 </listitem>
-            </itemizedlist>
-            
-                    <para>
-Starting with Connector/J 3.1.7, MySQL supports a variant of the driver 
-<literal>com.mysql.jdbc.ReplicationDriver</literal> that automatically sends 
-queries to a read/write master, or a failover or round-robin load balanced set 
-of slaves based on the state of read-only status of the connection. 
-See  <ulink url="http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-replication-connection.html">
-MySQL Reference</ulink> for more details. 
-                    </para>
-                    <para>
-This replication feature can be used transparently with OpenJPA application by
-following configuration:
-                    </para>
-        <itemizedlist>
-           <listitem>
-             <para>
-<literal>openjpa.ConnectionDriverName: com.mysql.jdbc.ReplicationDriver</literal>
-             </para>
-           </listitem>
-           <listitem>
-             <para>
-<literal>openjpa.ConnectionFactoryProperties: autoReconnect=true,roundRobinLoadBalance=true</literal>
-             </para>
-             <para>
-OpenJPA will use a read-only connection with replicated database configuration
-and will automatically switch the connection to a non-readonly mode if the
-transaction is writing to the database.             
-             </para>
-           </listitem>
+            </itemizedlist>
+            
+                    <para>
+Starting with Connector/J 3.1.7, MySQL supports a variant of the driver 
+<literal>com.mysql.jdbc.ReplicationDriver</literal> that automatically sends 
+queries to a read/write master, or a failover or round-robin load balanced set 
+of slaves based on the state of read-only status of the connection. 
+See  <ulink url="http://dev.mysql.com/doc/refman/5.1/en/connector-j-reference-replication-connection.html">
+MySQL Reference</ulink> for more details. 
+                    </para>
+                    <para>
+This replication feature can be used transparently with OpenJPA application by
+following configuration:
+                    </para>
+        <itemizedlist>
+           <listitem>
+             <para>
+<literal>openjpa.ConnectionDriverName: com.mysql.jdbc.ReplicationDriver</literal>
+             </para>
+           </listitem>
+           <listitem>
+             <para>
+<literal>openjpa.ConnectionFactoryProperties: autoReconnect=true,roundRobinLoadBalance=true</literal>
+             </para>
+             <para>
+OpenJPA will use a read-only connection with replicated database configuration
+and will automatically switch the connection to a non-readonly mode if the
+transaction is writing to the database.             
+             </para>
+           </listitem>
          </itemizedlist>
         </section>
         <section id="ref_guide_dbsetup_dbsupport_oracle">

Propchange: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_deploy.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_integration.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_intro.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_logging.xml
------------------------------------------------------------------------------
    svn:eol-style = native