3 messages in org.postgresql.pgsql-jdbcRe: Trouble with CallableStatement
FromSent OnAttachments
Michael GuyverJul 22, 2006 5:55 pm 
Michael GuyverJul 23, 2006 4:27 am 
Michael GuyverJul 23, 2006 5:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Trouble with CallableStatementActions...
From:Michael Guyver (kene@googlemail.com)
Date:Jul 23, 2006 5:04:20 am
List:org.postgresql.pgsql-jdbc

On 23/07/06, Michael Guyver <kene@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