Re: Trouble with CallableStatement

From: "Michael Guyver" <kenevel(at)googlemail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Trouble with CallableStatement
Date: 2006-07-23 12:04:43
Message-ID: 30b57570607230504s764a3c0fs1659c55149eb93bc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 23/07/06, Michael Guyver <kenevel(at)googlemail(dot)com> 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Akira Sato 2006-07-25 01:42:54 PreparedStatement clearParameters and setTimestamp
Previous Message Michael Guyver 2006-07-23 11:27:27 Trouble with CallableStatement