Re: Trouble with CallableStatement - Mailing list pgsql-jdbc

From Michael Guyver
Subject Re: Trouble with CallableStatement
Date
Msg-id 30b57570607230504s764a3c0fs1659c55149eb93bc@mail.gmail.com
Whole thread Raw
In response to Trouble with CallableStatement  ("Michael Guyver" <kenevel@googlemail.com>)
List pgsql-jdbc
On 23/07/06, Michael Guyver <kenevel@googlemail.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

pgsql-jdbc by date:

Previous
From: "Michael Guyver"
Date:
Subject: Trouble with CallableStatement
Next
From: Akira Sato
Date:
Subject: PreparedStatement clearParameters and setTimestamp