Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 66048 invoked from network); 15 Oct 2007 19:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 19:32:43 -0000 Received: (qmail 71165 invoked by uid 500); 15 Oct 2007 19:32:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 71135 invoked by uid 500); 15 Oct 2007 19:32:29 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 71119 invoked by uid 99); 15 Oct 2007 19:32:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 12:32:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 19:32:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D56A714231 for ; Mon, 15 Oct 2007 12:31:51 -0700 (PDT) Message-ID: <5654722.1192476711183.JavaMail.jira@brutus> Date: Mon, 15 Oct 2007 12:31:51 -0700 (PDT) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Resolved: (DERBY-2073) Inserting BigDecimal value in PreparedStatement into double column loses fractional digits In-Reply-To: <20624138.1163410657047.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden resolved DERBY-2073. ----------------------------------- Resolution: Fixed Fix Version/s: 10.4.0.0 10.3.1.5 > Inserting BigDecimal value in PreparedStatement into double column loses fractional digits > ------------------------------------------------------------------------------------------ > > Key: DERBY-2073 > URL: https://issues.apache.org/jira/browse/DERBY-2073 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.1.2.1 > Environment: windows xp > Reporter: Lukasz P > Assignee: Kathey Marsden > Fix For: 10.3.1.5, 10.4.0.0 > > Attachments: BigDecimalProblemTester.java, NegativeScaleTest.java > > > Create table with column of type double. > Create a prepared statement which inserts value to this column. > use preparedStatement#setBigDecimal method of the statement to set value of the column. > Execution of such statement succeeds, but actual value in db has no fractional digits. > You can use attached test class to reproduce this problem -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.