Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 59290 invoked from network); 7 Jun 2005 23:24:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jun 2005 23:24:10 -0000 Received: (qmail 29411 invoked by uid 500); 7 Jun 2005 23:24:07 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 29337 invoked by uid 500); 7 Jun 2005 23:24:06 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 29322 invoked by uid 99); 7 Jun 2005 23:24:06 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 07 Jun 2005 16:24:05 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 8F3452C9 for ; Wed, 8 Jun 2005 01:05:43 +0200 (CEST) Message-ID: <1437160791.1118185543585.JavaMail.jira@ajax.apache.org> Date: Wed, 8 Jun 2005 01:05:43 +0200 (CEST) From: "A B (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-194) getPrecision() on TIME and TIMESTAMP is zero In-Reply-To: <1506967014.1112570537811.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-194?page=all ] A B closed DERBY-194: --------------------- Hearing nothing more from George Baklarz, who reported this issue, I'm going to go ahead and close it... > getPrecision() on TIME and TIMESTAMP is zero > -------------------------------------------- > > Key: DERBY-194 > URL: http://issues.apache.org/jira/browse/DERBY-194 > Project: Derby > Type: Bug > Components: JDBC > Versions: 10.0.2.0 > Environment: Windows XP SP1 Professional > Reporter: George Baklarz > Assignee: A B > Priority: Minor > Fix For: 10.1.0.0 > Attachments: derby-194.patch, derby-194.stat > > Sun JDBC defines getPrecision() to return either the maximum length or maximum number of digits of the column, or zero for failure (such as the precision is unknown). > http://docs.sun.com/source/816-6105-10/apicola.htm#211083 > The DATE field returns 10 characters on a getPrecision() call so why doesn't TIME and TIMESTAMP give a precision length equal to the display length? Just seems inconsistent that DATE would return a precision (as well as all other data types) and not TIME nor TIMESTAMP. -- 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