openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtyle...@apache.org
Subject svn commit: r761380 - in /openjpa/branches/1.3.x: openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
Date Thu, 02 Apr 2009 19:06:22 GMT
Author: mtylenda
Date: Thu Apr  2 19:06:22 2009
New Revision: 761380

URL: http://svn.apache.org/viewvc?rev=761380&view=rev
Log:
OPENJPA-883: Documentation is out of date for some MySQLDictionary properties

Modified:
    openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
    openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml

Modified: openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
URL: http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java?rev=761380&r1=761379&r2=761380&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
(original)
+++ openjpa/branches/1.3.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java
Thu Apr  2 19:06:22 2009
@@ -46,8 +46,8 @@
     public String tableType = "innodb";
 
     /**
-     * Whether to use clobs. Some older versions of MySQL do not handle
-     * clobs properly so we default to false here.
+     * Whether to use clobs; defaults to true. Set this to false if you have an
+     * old version of MySQL which does not handle clobs properly.
      */
     public boolean useClobs = true;
 

Modified: openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml?rev=761380&r1=761379&r2=761380&view=diff
==============================================================================
--- openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml (original)
+++ openjpa/branches/1.3.x/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml Thu Apr  2
19:06:22 2009
@@ -3159,12 +3159,14 @@
                             DriverDeserializesBlobs
                         </secondary>
                     </indexterm>
-<literal>DriverDeserializesBlobs</literal>: Many MySQL drivers automatically
-deserialize BLOBs on calls to <methodname>ResultSet.getObject</methodname>. The
+<literal>DriverDeserializesBlobs</literal>: Many older MySQL drivers
+automatically deserialize BLOBs on calls to
+<methodname>ResultSet.getObject</methodname>. The
 <classname>MySQLDictionary</classname> overrides the standard <methodname>
-DBDictionary.getBlobObject</methodname> method to take this into account. If
-your driver does not deserialize automatically, set this property to 
-<literal>false</literal>.
+DBDictionary.getBlobObject</methodname> method to take this into account.
+Defaults to <literal>true</literal> if driver version is less than 5.0,
+<literal>false</literal> otherwise. If your driver deserializes
+automatically, you may want to set this property to <literal>true</literal>.
                     </para>
                 </listitem>
                 <listitem id="MySQLDictionary.TableType">
@@ -3191,9 +3193,9 @@
                             UseClobs
                         </secondary>
                     </indexterm>
-<literal>UseClobs</literal>: Some older versions of MySQL do not handle clobs
-correctly. To enable clob functionality, set this to <literal>true</literal>.

-Defaults to <literal>false</literal>.
+<literal>UseClobs</literal>: Some older versions of MySQL do not handle CLOBs
+correctly. To disable CLOB functionality, set this to <literal>false</literal>.

+Defaults to <literal>true</literal>.
                     </para>
                 </listitem>
                 <listitem id="MySQLDictionary.OptimizeMultiTableDeletes">



Mime
View raw message