Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


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().


In response to

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group