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:34 UTC
svn commit: r684795 -
/openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml
Author: allee8285
Date: Mon Aug 11 09:20:34 2008
New Revision: 684795
URL: http://svn.apache.org/viewvc?rev=684795&view=rev
Log:
OPENJPA-686 - Commit on behalf of Fay Wang. Updating manual on Sybase specific behavior.
Modified:
openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml
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=684795&r1=684794&r2=684795&view=diff
==============================================================================
--- openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml (original)
+++ openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml Mon Aug 11 09:20:34 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>