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 250F63A5CDF for ; Sun, 5 Dec 2004 21:23:20 +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 78115-02 for ; Sun, 5 Dec 2004 21:23:12 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 98BD13A5C75 for ; Sun, 5 Dec 2004 21:23:13 +0000 (GMT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1Cb3qZ-0002DT-00; Mon, 06 Dec 2004 10:23:11 +1300 Message-ID: <41B37DB4.7000107@opencloud.com> Date: Mon, 06 Dec 2004 10:29:24 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.9 (X11/20041130) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Hallgren Cc: pgsql-jdbc@postgresql.org Subject: Re: prepared statement call fails References: <41B35CC6.2030800@mailblocks.com> In-Reply-To: <41B35CC6.2030800@mailblocks.com> X-Enigmail-Version: 0.89.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200412/26 X-Sequence-Number: 11692 Thomas Hallgren wrote: > AFAIK, CallableStatement is for stored procedure calls. Stored > procedures are not yet implemented in PostgreSQL. It only has functions. [...] However the JDBC driver supports the special case of '{ ? = call f(?,?,?) }' where only the return value is an out parameter; it should be remapping this to a SELECT automaticallly. -O