Return-Path: Delivered-To: apmail-openjpa-commits-archive@www.apache.org Received: (qmail 51583 invoked from network); 11 Aug 2008 16:20:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Aug 2008 16:20:55 -0000 Received: (qmail 89522 invoked by uid 500); 11 Aug 2008 16:20:54 -0000 Delivered-To: apmail-openjpa-commits-archive@openjpa.apache.org Received: (qmail 89508 invoked by uid 500); 11 Aug 2008 16:20:54 -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 89499 invoked by uid 99); 11 Aug 2008 16:20:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Aug 2008 09:20:54 -0700 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; Mon, 11 Aug 2008 16:20:06 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EC11723889C0; Mon, 11 Aug 2008 09:20:34 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r684795 - /openjpa/trunk/openjpa-project/src/doc/manual/supported_databases.xml Date: Mon, 11 Aug 2008 16:20:34 -0000 To: commits@openjpa.apache.org From: allee8285@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080811162034.EC11723889C0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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. ". + + +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 +openjpa.jdbc.DBDictionary for +more detail. Alternatively, application can set the precision and scale using +the standard Column annotation, described in +. + +