X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id EC55B52956 for ; Wed, 20 Jul 2005 20:51:07 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93329-09 for ; Wed, 20 Jul 2005 23:50:58 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 3EDDE52825 for ; Wed, 20 Jul 2005 20:50:57 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DvOL6-0003Rm-Nf; Thu, 21 Jul 2005 11:51:00 +1200 Message-ID: <42DEE364.20801@opencloud.com> Date: Thu, 21 Jul 2005 11:51:00 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050324) X-Accept-Language: en-us, en MIME-Version: 1.0 To: wu xiao Cc: pgsql-jdbc@postgresql.org Subject: Re: a question, please help me. References: In-Reply-To: X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/208 X-Sequence-Number: 13356 wu xiao wrote: > PreparedStatement ps = db.prepareStatement("select * from operator where > ID=?"); > The sqlexception is£º....column 'id' is not exist..... What's the reason > please? All of the tables are created in Windows XP. If you've created the table with a capitalized column name, you will need to quote it in your SQL: "select * from operator where \"ID\"=?" Unquoted identifiers (column names, table names, etc) are forced to lowercase by the server. -O