You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by al...@apache.org on 2008/08/11 18:20:31 UTC

svn commit: r684794 - /openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml

Author: allee8285
Date: Mon Aug 11 09:20:30 2008
New Revision: 684794

URL: http://svn.apache.org/viewvc?rev=684794&view=rev
Log:
OPENJPA-686 - Commit on behalf of Fay Wang. Updating manual on Sybase specific behavior.

Modified:
    openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml

Modified: openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml?rev=684794&r1=684793&r2=684794&view=diff
==============================================================================
--- openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml (original)
+++ openjpa/branches/1.2.x/openjpa-project/src/doc/manual/supported_databases.xml Mon Aug 11 09:20:30 2008
@@ -1004,6 +1004,19 @@
 procedure.</literal> ".
                     </para>
                 </listitem>
+                <listitem>
+                    <para> 
+Applications performing update/insert data of the BigDecimal java type may fail 
+with OptimisticException if the data exceeds the scale or precision of the
+column on Sybase. To avoid this problem, applications can specify the precision
+and scale for the numeric type by setting numericTypeName='NUMERIC(p,s)' for
+the column type mapped by the BigDecimal java type. See
+<link linkend="openjpa.jdbc.DBDictionary">openjpa.jdbc.DBDictionary</link> for
+more detail. Alternatively, application can set the precision and scale using
+the standard <classname>Column</classname> annotation, described in
+<xref linkend="jpa_overview_mapping_column"/>.
+                    </para>
+                </listitem>
             </itemizedlist>
         </section>
     </section>