Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 61824 invoked from network); 6 Aug 2007 18:47:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Aug 2007 18:47:06 -0000 Received: (qmail 71621 invoked by uid 500); 6 Aug 2007 18:47:04 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 71585 invoked by uid 500); 6 Aug 2007 18:47:04 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 71574 invoked by uid 99); 6 Aug 2007 18:47:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 11:47:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.vancouvering@gmail.com designates 209.85.198.188 as permitted sender) Received: from [209.85.198.188] (HELO rv-out-0910.google.com) (209.85.198.188) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Aug 2007 18:47:01 +0000 Received: by rv-out-0910.google.com with SMTP id b22so1046221rvf for ; Mon, 06 Aug 2007 11:46:41 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=sCXVPL0ISbuPvpMnuz3bsHyIaR4o6FYhCbOv5uX9X0ZK21DryLckDGv94Q5zxCSrkbBIVr+SrjFulDGbQa/Ovy1typ4HnzfKpL02SJc9NwJAxfXso4VidWW8b2o+09XaaaRcozfdlMEt5RzFgDuAPfCBUKc8lqw0Eq/Dvuww8AE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=LrLvg1SD0q3mJcdU0YZQZbNBGUaBFmMXUtw+EDky1dS6OAmdMIWDwOuGUcqktP/8UZg9ygBm5pnEKbmK0dqImfNDh4n+eyT6gUq2KvdZk24r2DmhecbQJPSy1Tds+NFVi1aJJidAQqykXBbbs3C2QOqGjdZGbltiVRfuruvuEjY= Received: by 10.114.66.2 with SMTP id o2mr5904870waa.1186426001378; Mon, 06 Aug 2007 11:46:41 -0700 (PDT) Received: by 10.114.120.13 with HTTP; Mon, 6 Aug 2007 11:46:41 -0700 (PDT) Message-ID: <56a83cd00708061146h5e3032b5j84eb1d010dd0c58d@mail.gmail.com> Date: Mon, 6 Aug 2007 11:46:41 -0700 From: "David Van Couvering" Sender: david.vancouvering@gmail.com To: "Derby Discussion" Subject: Re: DatabaseMetaData.searchStringEscape In-Reply-To: <13054.149.qm@web31809.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <13054.149.qm@web31809.mail.mud.yahoo.com> X-Google-Sender-Auth: 06a997335f928148 X-Virus-Checked: Checked by ClamAV on apache.org Yes, you're right, identifierQuoteString doesn't make sense in this case. I thought you were trying to quote the entire identifier. I don't have an answer for you though, sorry! David On 8/4/07, Geoff hendrey wrote: > On the advice I got back from my last email, I tried to use getIdentfierQuoteString (which returns "). > > > So I tried escaping the undescore like this: > m.getColumns(null, null, tableName, "%\"_\"XXX"); //find columns ending in _XXX > > but that doesn't work, nor does is really seem to make any sense. I really need the searchEscapeString. Without it, how can anyone use getColumns? It's *very* common for table names to have an underscore, but unless I can escape the underscore, it will be treated as a wildcard for any single character. > > I must be missing something. > > -geoff > > >