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 E557BD941C for ; Mon, 3 Oct 2005 06:36:17 -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 53203-04 for ; Mon, 3 Oct 2005 09:36:14 +0000 (GMT) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by svr1.postgresql.org (Postfix) with ESMTP id B10B6D91E3 for ; Mon, 3 Oct 2005 06:36:14 -0300 (ADT) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EMMiB-0004zy-DA for pgsql-jdbc@postgresql.org; Mon, 03 Oct 2005 11:34:19 +0200 Received: from 83.145.96.114 ([83.145.96.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2005 11:34:19 +0200 Received: from Marc.Herbert by 83.145.96.114 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 03 Oct 2005 11:34:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-jdbc@postgresql.org From: Marc Herbert Subject: Re: setObject(col, blob) throws PSQLException Date: Mon, 03 Oct 2005 11:34:07 +0200 Lines: 26 Message-ID: <877jcvx7u8.fsf@mail.emicnetworks.com> References: <871x3842mw.fsf@meije.emic.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83.145.96.114 User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Jumbo Shrimp, linux) Cancel-Lock: sha1:M2Jl+NXQJJdqD7Aoc+8MbNghMKU= X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.605 required=5 tests=[FORGED_RCVD_HELO=0.05, RCVD_BY_IP=0.024, RCVD_NUMERIC_HELO=1.531] X-Spam-Level: * X-Archive-Number: 200510/5 X-Sequence-Number: 13936 Kris Jurka writes: > On Thu, 29 Sep 2005, Marc Herbert wrote: > >> [setObject(col, blob, Types.Blob) throw Exception] >> > > I've commited a fix to cvs for both the 8.0 and 8.1 branches. > Types.CLOB and Types.ARRAY also suffered the same problem. > I just had a look at it (did not try it yet) and it seems you fixed: setObject(int parameterIndex, Object x) But not: setObject(int parameterIndex, Object x, int targetSqlType) Am I missing something ? (besides an actual test :-/