You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by mt...@apache.org on 2010/02/19 11:48:35 UTC

svn commit: r911780 - in /openjpa/trunk/openjpa-project/src/doc/manual: jpa_overview_query.xml supported_databases.xml

Author: mtylenda
Date: Fri Feb 19 10:48:34 2010
New Revision: 911780

URL: http://svn.apache.org/viewvc?rev=911780&view=rev
Log:
OPENJPA-1510: Correct confusing sentences in Query Hints section; correct the Oracle known issue with empty strings.

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

Modified: openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml?rev=911780&r1=911779&r2=911780&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/jpa_overview_query.xml Fri Feb 19 10:48:34 2010
@@ -758,7 +758,9 @@
 </programlisting>
             </example>
             <para>
-Invalid hints or hints which can not be processed by a particular database are ignored.  Otherwise, invalid hints will result in an ArgumentException being thrown. 
+Hints which can not be processed by a particular database or are unknown to OpenJPA are ignored.
+Hints known to OpenJPA but supplied with an incompatible value will result in an
+<classname>IllegalArgumentException</classname> being thrown.
             </para>
             <section id="jpa_hints_locking">
                 <title>

Modified: openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml?rev=911780&r1=911779&r2=911780&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml Fri Feb 19 10:48:34 2010
@@ -1120,9 +1120,7 @@
                 </listitem>
                 <listitem>
                     <para>
-For VARCHAR fields, <literal>null</literal> and a blank string are equivalent.
-This means that an object that stores a null string field will have it get read
-back as a blank string.
+Empty string/char values are stored as NULL.
                     </para>
                 </listitem>
                 <listitem>