Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 21019 invoked from network); 11 May 2010 19:24:07 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 May 2010 19:24:07 -0000 Received: (qmail 59168 invoked by uid 500); 11 May 2010 19:24:06 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 59131 invoked by uid 500); 11 May 2010 19: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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 59084 invoked by uid 99); 11 May 2010 19:24:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 19:24:06 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 May 2010 19:24:04 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4BJNgck010553 for ; Tue, 11 May 2010 19:23:43 GMT Message-ID: <31338473.9961273605822758.JavaMail.jira@thor> Date: Tue, 11 May 2010 15:23:42 -0400 (EDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4613) Make client driver treat BOOLEAN columns the same way as the embedded driver does. In-Reply-To: <13524577.2051271096149759.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4613?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-4613: --------------------------------- Attachment: derby-4613-01-ac-correctBehavior.diff Attaching derby-4613-01-ac-correctBehavior.diff. This adds compatibility tests to the previous version of the patch. I verified the new tests by running them against combinations of the following client and server versions on jdk1.4, Java 5, and Java 6: I believe this patch is ready to be committed. 10.0.2.1 10.1.1.0 10.2.2.0 10.4.2.1 10.6.1.0 Trunk (10.7.0.0) Touches the following additional files: M java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/CompatibilitySuite.java M java/testing/org/apache/derbyTesting/functionTests/tests/junitTests/compatibility/JDBCDriverTest.java > Make client driver treat BOOLEAN columns the same way as the embedded driver does. > ---------------------------------------------------------------------------------- > > Key: DERBY-4613 > URL: https://issues.apache.org/jira/browse/DERBY-4613 > Project: Derby > Issue Type: Improvement > Components: SQL > Affects Versions: 10.6.1.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-4613-01-ab-correctBehavior.diff, derby-4613-01-ac-correctBehavior.diff, derby-4613-fs.html > > > The only operation currently allowed on BOOLEAN columns is to select them from the system tables. For instance, the following query selects BOOLEAN values: > select systemalias from sys.sysaliases; > There are discrepancies in how the embedded and client drivers handle these BOOLEAN columns. The embedded behavior is correct and the client behavior should conform. I will attach a spec describing what needs to be done. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.