Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 74571 invoked from network); 4 Apr 2005 00:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2005 00:16:22 -0000 Received: (qmail 57699 invoked by uid 500); 4 Apr 2005 00:16:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 57660 invoked by uid 500); 4 Apr 2005 00:16:20 -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 57646 invoked by uid 99); 4 Apr 2005 00:16:20 -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; Sun, 03 Apr 2005 17:16:19 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id D77A928A for ; Mon, 4 Apr 2005 02:16:16 +0200 (CEST) Message-ID: <1635295710.1112573776881.JavaMail.jira@ajax.apache.org> Date: Mon, 4 Apr 2005 02:16:16 +0200 (CEST) From: "George Baklarz (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-195) isSearchable() returns true for a calculated field Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N isSearchable() returns true for a calculated field -------------------------------------------------- Key: DERBY-195 URL: http://issues.apache.org/jira/browse/DERBY-195 Project: Derby Type: Bug Components: JDBC Versions: 10.0.2.0 Environment: Windows XP SP1 Professional Reporter: George Baklarz Issuing a ResultSetMetaData isSearchable() against a computing column returns a TRUE value. i.e. SELECT NAME, ADDRESS, 1 FROM EMPLOYEE .... will return a value of TRUE for isSearchable against the computed value (1) in the SELECT list. Is that what is supposed to be returned for a computed column? It may be that I misunderstood the semantics for what isSearchable() is supposed to do. I thought that a column with isSearchable()=true can be used in a subsequent WHERE clause. -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira