X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id B3FA49FA2A7 for ; Sun, 23 Jul 2006 09:04:48 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 97349-03 for ; Sun, 23 Jul 2006 12:04:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188]) by postgresql.org (Postfix) with ESMTP id 50BAC9FA1E2 for ; Sun, 23 Jul 2006 09:04:44 -0300 (ADT) Received: by nf-out-0910.google.com with SMTP id p77so1255465nfc for ; Sun, 23 Jul 2006 05:04:43 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=googlemail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TiTfgTMPt6xvLKv5gKYz3/u9lq5QkRx7zPhx8ls99TtuFIK69HtdtqeLoJDGo8Xn8lBG55LTnzI8uRGQ2w3Fcz93dOi7InN+sWWdLb+LZ1Y695g664fwxjgAwaiBK6mpF/9LLd8EiZRIuaG09nmAhU8zzIngfdHzdKN4qilWTyg= Received: by 10.78.178.5 with SMTP id a5mr1113076huf; Sun, 23 Jul 2006 05:04:43 -0700 (PDT) Received: by 10.78.183.20 with HTTP; Sun, 23 Jul 2006 05:04:43 -0700 (PDT) Message-ID: <30b57570607230504s764a3c0fs1659c55149eb93bc@mail.gmail.com> Date: Sun, 23 Jul 2006 13:04:43 +0100 From: "Michael Guyver" To: pgsql-jdbc@postgresql.org Subject: Re: Trouble with CallableStatement In-Reply-To: <30b57570607230427g2e53ead8uae03cc366eccb334@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <30b57570607221755q76771c94l84013aef90b16f96@mail.gmail.com> <7c6c1dd90607221842u58a77225u9893b0e446b297cf@mail.gmail.com> <30b57570607230339u6926a9c5ua019510cca868890@mail.gmail.com> <30b57570607230424k13af5882q72301526a6c4e2db@mail.gmail.com> <30b57570607230427g2e53ead8uae03cc366eccb334@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/74 X-Sequence-Number: 15500 On 23/07/06, Michael Guyver wrote: > This is caused by the AbstractJdbc2Statement.executeWithFlags(int) > method returning false for any code path which satisfies the condition > (isFunction && returnTypeSet). > > This appears to be at best mis-reported as I can clearly see the > results being read into the abstractJdbc2Statement.callResult > instance variable. > > Is this right? Gents, My apologies, this one is my fault. In attempting to circumvent the original problem I was experimenting with different ways of calling the procedure, and had left my own code as running statement.executeQuery() instead of statement.execute(). Michael