Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 60212 invoked from network); 27 Jan 2006 16:28:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jan 2006 16:28:08 -0000 Received: (qmail 97955 invoked by uid 500); 27 Jan 2006 16:28:05 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97828 invoked by uid 500); 27 Jan 2006 16:28:04 -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 97666 invoked by uid 99); 27 Jan 2006 16:28:03 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jan 2006 08:28:01 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2CC25180 for ; Fri, 27 Jan 2006 17:27:40 +0100 (CET) Message-ID: <1250376442.1138379260181.JavaMail.jira@ajax.apache.org> Date: Fri, 27 Jan 2006 17:27:40 +0100 (CET) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-877) zOS - with DerbyClient getDate(#) fails with IllegalArgumentException - unsupported date format - resultset.java In-Reply-To: <1089866292.1138282629543.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-877?page=all ] Kathey Marsden reassigned DERBY-877: ------------------------------------ Assign To: Kathey Marsden > zOS - with DerbyClient getDate(#) fails with IllegalArgumentException - unsupported date format - resultset.java > ---------------------------------------------------------------------------------------------------------------- > > Key: DERBY-877 > URL: http://issues.apache.org/jira/browse/DERBY-877 > Project: Derby > Type: Bug > Components: Network Client > Versions: 10.1.1.0 > Environment: OS/390 with classic (IBM) jvm142 > Reporter: Myrna van Lunteren > Assignee: Kathey Marsden > > The test lang/resultset.java fails with DerbyNetClient on zOS > because ResultSet.getDate(#) fails with an > java.lang.IllegalArgumentException - unsupported date format. > This is the stack trace with 10.2 debug version (but it fails > with 10.1 also): > ------------------ > .... > getBytes(dt) got exception > Data Conversion SQLException > FAIL -- unexpected exception: > java.lang.IllegalArgumentException: Unsupported date format! > java.lang.IllegalArgumentException: Unsupported date format! > at > org.apache.derby.client.am.DateTime.dateBytesToDate(DateTime.java:63) > at > org.apache.derby.client.am.Cursor.getDATE(Cursor.java:400) > at > org.apache.derby.client.am.Cursor.getDate(Cursor.java:712) > at > org.apache.derby.client.am.ResultSet.getDate(ResultSet.java:687) > at > org.apache.derbyTesting.functionTests.tests.jdbcapi.resultset.main(Unknown Source) > ------------------ > Note: does not fail with jcc. > Also, test lang/updatableResultSet.java failed with e.g.: > - instead of 'Got expected exception : Illegal Conversion' : > 'Got expected exception : Unsupported date format!' . > - instead of 'Got expected exception : Illegal Conversion' : > 'Got expected exception : nanos > 99999999999 or < 0' . -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira