Return-Path: Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: (qmail 13073 invoked from network); 2 Apr 2009 18:45:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Apr 2009 18:45:55 -0000 Received: (qmail 99589 invoked by uid 500); 2 Apr 2009 18:45:55 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 99522 invoked by uid 500); 2 Apr 2009 18:45:55 -0000 Mailing-List: contact commits-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list commits@openjpa.apache.org Received: (qmail 99513 invoked by uid 99); 2 Apr 2009 18:45:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:45:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Apr 2009 18:45:54 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5385D2388A13; Thu, 2 Apr 2009 18:45:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r761373 - in /openjpa/trunk: 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 18:45:33 -0000 To: commits@openjpa.apache.org From: mtylenda@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090402184533.5385D2388A13@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mtylenda Date: Thu Apr 2 18:45:32 2009 New Revision: 761373 URL: http://svn.apache.org/viewvc?rev=761373&view=rev Log: OPENJPA-883: Documentation is out of date for some MySQLDictionary properties Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java openjpa/trunk/openjpa-project/src/doc/manual/ref_guide_dbsetup.xml Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java?rev=761373&r1=761372&r2=761373&view=diff ============================================================================== --- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java (original) +++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/MySQLDictionary.java Thu Apr 2 18:45:32 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/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=761373&r1=761372&r2=761373&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 Thu Apr 2 18:45:32 2009 @@ -3159,12 +3159,14 @@ DriverDeserializesBlobs -DriverDeserializesBlobs: Many MySQL drivers automatically -deserialize BLOBs on calls to ResultSet.getObject. The +DriverDeserializesBlobs: Many older MySQL drivers +automatically deserialize BLOBs on calls to +ResultSet.getObject. The MySQLDictionary overrides the standard -DBDictionary.getBlobObject method to take this into account. If -your driver does not deserialize automatically, set this property to -false. +DBDictionary.getBlobObject method to take this into account. +Defaults to true if driver version is less than 5.0, +false otherwise. If your driver deserializes +automatically, you may want to set this property to true. @@ -3191,9 +3193,9 @@ UseClobs -UseClobs: Some older versions of MySQL do not handle clobs -correctly. To enable clob functionality, set this to true. -Defaults to false. +UseClobs: Some older versions of MySQL do not handle CLOBs +correctly. To disable CLOB functionality, set this to false. +Defaults to true.