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 29C318B9C8C for ; Tue, 22 Feb 2005 00:49:22 +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 64304-10 for ; Tue, 22 Feb 2005 00:49:15 +0000 (GMT) Received: from smtpauth03.mail.atl.earthlink.net (smtpauth03.mail.atl.earthlink.net [209.86.89.63]) by svr1.postgresql.org (Postfix) with ESMTP id 8CBBC8B9CA5 for ; Tue, 22 Feb 2005 00:49:17 +0000 (GMT) Received: from [24.152.185.109] (helo=[192.168.0.10]) by smtpauth03.mail.atl.earthlink.net with asmtp (Exim 4.34) id 1D3OEn-00049n-IQ; Mon, 21 Feb 2005 19:49:17 -0500 In-Reply-To: References: Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: pgsql-jdbc@postgresql.org From: Valentin Rodionov Subject: Re: setObject(i,null) and general "setNull" problems Date: Mon, 21 Feb 2005 16:49:17 -0800 To: Kris Jurka X-Mailer: Apple Mail (2.619.2) X-ELNK-Trace: ee3029455d37d5b294f5150ab1c16ac0549fb11073be4ad324804622fb96437edea6f195696e4fbe350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.152.185.109 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.28 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200502/148 X-Sequence-Number: 12328 > >> I have tried using getParameterMetaData, but that method is not yet >> implemented in PGSQL driver. > > Update to build 310. > > Thanks for a very quick reply! I have not realized so much major reworking could have been done on the driver in the 2 months since I have downloaded my old version... I am very impressed. So is the getParameterMetaData method fully implemented now? Right now I have implemented my NULL setting method using setNull(index, Types.OTHER), and it seems to work with the "310" build fine. Will there be any advantage over what I have done if I rewrite my method using getParamaterMetaData and type my NULLs correctly (the only thing I am doing in my app is very simple selects, updates and inserts)? Thanks a lot!