Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43414 invoked from network); 6 Oct 2007 15:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Oct 2007 15:40:22 -0000 Received: (qmail 50392 invoked by uid 500); 6 Oct 2007 15:40:09 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 50354 invoked by uid 500); 6 Oct 2007 15:40:09 -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 50345 invoked by uid 99); 6 Oct 2007 15:40:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Oct 2007 08:40:09 -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; Sat, 06 Oct 2007 15:40:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 94CAF714208 for ; Sat, 6 Oct 2007 08:39:50 -0700 (PDT) Message-ID: <9310832.1191685190594.JavaMail.jira@brutus> Date: Sat, 6 Oct 2007 08:39:50 -0700 (PDT) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-957) Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue In-Reply-To: <892833563.1139618342535.JavaMail.jira@ajax.apache.org> 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-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532892 ] Bryan Pendleton commented on DERBY-957: --------------------------------------- Using assertSQLState seems quite reasonable. However, instead of adding + System.out.println("setFetchSize(-1000) expected to fail"); does it work to instead say + fail("setFetchSize(-1000) expected to fail"); Or am I getting confused between the old harness and the new JUnit style here? > Long passed into an exception gets displayed using locale specific formatting. i18n/locale issue > ------------------------------------------------------------------------------------------------ > > Key: DERBY-957 > URL: https://issues.apache.org/jira/browse/DERBY-957 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure, Test > Affects Versions: 10.2.1.6, 10.3.1.4 > Environment: OS: Microsoft(R) Windows(R) Server 2003 - CYGWIN_NT-5.2 1.5.12(0.116/4/2), JVM: Sun Microsystems Inc. 1.5.0_04 > Reporter: Ole Solberg > Assignee: Knut Anders Hatlen > Priority: Minor > Attachments: d957.diff > > > Diff: > ********* Diff file derbyall/jdbc20/statementJdbc20.diff > *** Start: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:51:48 *** > 3 del > < SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1,000' for Statement.setFetchSize(int rows). > 3a3 > > SQLSTATE(XJ065): SQL Exception: Invalid parameter value '-1 000' for Statement.setFetchSize(int rows). > 5 del > < SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1,000' for setFetchDirection(int direction). > 5a5 > > SQLSTATE(XJ064): SQL Exception: Invalid parameter value '-1 000' for setFetchDirection(int direction). > 18 del > < SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2,000' for ResultSet.setFetchSize(int rows). > 18a18 > > SQLSTATE(XJ062): SQL Exception: Invalid parameter value '-2 000' for ResultSet.setFetchSize(int rows). > Test Failed. > *** End: statementJdbc20 jdk1.5.0_04 derbyall:jdbc20 2006-01-30 06:52:05 *** > http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/373335-derbyall_diff.txt > Duplicate in DERBY-987 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.