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 9A84DD1B17B for ; Wed, 4 Aug 2004 19:53:56 -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 05740-05 for ; Wed, 4 Aug 2004 22:53:50 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 25FAFD1B17A for ; Wed, 4 Aug 2004 19:53:46 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BsUZK-00008Z-00; Thu, 05 Aug 2004 10:49:10 +1200 Message-ID: <411167E3.8040407@opencloud.com> Date: Thu, 05 Aug 2004 10:49:07 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: chinni Cc: "pgsql-jdbc@postgresql.org" Subject: Re: [HACKERS] postgres and Jdbc 2.0 References: <41116556.3040801@opencloud.com> In-Reply-To: <41116556.3040801@opencloud.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200408/29 X-Sequence-Number: 10751 Oliver Jowett wrote: >> public void registerOutParameter(int parameterIndex, int sqlType, >> String typeName) throws SQLException > > > The underlying server does not support out parameters. This is also why > the getXXX accessors on CallableStatement are not implemented. Sorry -- misinterpreted this one. You can't have arbitary out parameters. You can have a single out return parameter for a function call. I assumed you were trying for arbitary out parameters. The registerOutParameter() variant that takes a UDT typename is not implemented as the driver does not support UDTs. There's no obvious reason why the unimplemented getXXX() methods are unimplemented (those that are implemented on ResultSet, at least) -O