You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-user@db.apache.org by Knut Anders Hatlen <kn...@oracle.com> on 2013/05/02 13:49:40 UTC

Re: Call statement with an SQL request as an input parameter

Guillaume CHAUVET <gu...@qualiformed.com> writes:

> Hi Rick,
>
> Thank you very much, I understand my mistake now : I wanted to make a single SQL request  instead of two requests.
> By cons I have to write a Java program to do that, but this is not a problem in my case.

Hi Guillaume,

Even though Derby doesn't allow sub-queries as arguments to procedure
calls, I think it's a bug that it fails with a NullPointerException.
I've filed https://issues.apache.org/jira/browse/DERBY-6212 to make it
fail more gracefully.

Thanks,

-- 
Knut Anders