Received: from georgetown.edu (postoffice.georgetown.edu [141.161.1.110]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAQKfYm28689 for ; Mon, 26 Nov 2001 15:41:34 -0500 (EST) (envelope-from cef6@georgetown.edu) Received: from mailhost.georgetown.edu (mailhost.georgetown.edu [141.161.1.103]) by georgetown.edu (8.11.1/8.11.1) with ESMTP id fAQKfXL22578 for ; Mon, 26 Nov 2001 15:41:33 -0500 (EST) Received: from andrew ([141.161.80.35]) (authenticated as cef6 with LOGIN (0 bits)) by mailhost.georgetown.edu (8.11.1/8.11.1) with ESMTP id fAQKfVb02530 (using TLSv1/SSLv3 with cipher RC4-MD5 (128 bits) verified NO) for ; Mon, 26 Nov 2001 15:41:32 -0500 (EST) From: "Colin Freas" To: Subject: Re: JDBC bug? Date: Mon, 26 Nov 2001 15:41:28 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal In-Reply-To: <200111262013.fAQKDb415577@candle.pha.pa.us> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 X-Archive-Number: 200111/278 X-Sequence-Number: 2475 > via quoted mixed case identifiers. I haven't seen any evidence that > basic SQL operations (select, insert, update, delete) have a bug in them. I'd peg a where clause as a basic SQL operation, and be it bug, feature, annoyance, whatever, it wasn't functioning because of the case of a column name. This worked: 1. rs = stmt.executeQuery("select * from response"); But I wanted to do this, which didn't work: 2. rs = stmt.executeQuery("select * from response where questionID=16"); This is how I got it to work: 3. rs = stmt.executeQuery("SELECT \"response\".\"questionID\", \"response\".\"respondentID\", \"response\".\"answer\", \"response\".\"ID\" FROM \"response\" WHERE "\response\".\"questionID\"=16"); Sorry, does anyone think the third is better than the second?