X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1CF38D8AC4 for ; Thu, 8 Sep 2005 19:12:11 -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 44007-05 for ; Thu, 8 Sep 2005 22:12:07 +0000 (GMT) Received: from gwmta.wicourts.gov (gwmta.wicourts.gov [165.219.244.91]) by svr1.postgresql.org (Postfix) with ESMTP id 22687D8A93 for ; Thu, 8 Sep 2005 19:12:08 -0300 (ADT) Received: from Courts-MTA by gwmta.wicourts.gov with Novell_GroupWise; Thu, 08 Sep 2005 17:12:10 -0500 Message-Id: X-Mailer: Novell GroupWise Internet Agent 6.5.4 Date: Thu, 08 Sep 2005 17:11:52 -0500 From: "Kevin Grittner" To: , Subject: Re: simple insert operation Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1253 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 required=5 tests=[AWL=0.005] X-Spam-Level: X-Archive-Number: 200509/26 X-Sequence-Number: 13811 Hi Ayd*n, =20 Others have addressed your compile errors, but I see something which might = cause you problems at run time. =20 Identifiers which are not "quoted" will be treated as lower case in = PostgreSQL, so your query will try to access "passtable"."idcol" instead = of "passTable"."idCol". If you created the table without using quotes it = will be in lower case and you will be OK referencing it without quotes no = matter what capitalization you use; however, if the table really exists in = your database with the camel case identifiers, you must use quotes. =20 -Kevin =20 =20 >>> Ayd*n Toprak 09/08/05 2:58 AM >>> =20 String sqlQuery =3D "INSERT INTO passTable (idCol , pass) = VALUES=20 (3, 5)";