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 108878BA179 for ; Tue, 15 Feb 2005 11:20:27 +0000 (GMT) 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 27418-05 for ; Tue, 15 Feb 2005 11:20:24 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.207]) by svr1.postgresql.org (Postfix) with ESMTP id ADED38BA150 for ; Tue, 15 Feb 2005 11:20:22 +0000 (GMT) Received: by wproxy.gmail.com with SMTP id 68so900799wri for ; Tue, 15 Feb 2005 03:20:22 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=DveIC5qpDh6VZWovklqkNND8OI1v/z7W2ZwrF2cO5zwMGJMqjnoE4C71hgulQZCIf5q1xw8Hz3ubn9q1f+A6yBYUxpng9x73Q9BPGJLJawUIzuk8f8WmDSRCCagnA/Wb1drLJy+DY0IXky/83xWlENt7a3lLw0gjfe4jSbvr3vc= Received: by 10.54.16.79 with SMTP id 79mr190180wrp; Tue, 15 Feb 2005 03:20:22 -0800 (PST) Received: by 10.54.31.32 with HTTP; Tue, 15 Feb 2005 03:20:22 -0800 (PST) Message-ID: <2989532e050215032031e9aeb8@mail.gmail.com> Date: Tue, 15 Feb 2005 16:50:22 +0530 From: Antony Paul Reply-To: Antony Paul To: pgsql-jdbc@postgresql.org Subject: Pass column name in preparedstatement Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.544 tagged_above=0 required=5 tests=AWL, FROM_ENDS_IN_NUMS, RCVD_BY_IP X-Spam-Level: X-Archive-Number: 200502/107 X-Sequence-Number: 12287 Hi all, Is it possible to pass column name to a PreparedStatement as a parameter. Or should I use Statement. rgds Antony Paul