You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "alex (Jira)" <ji...@apache.org> on 2020/03/03 07:01:00 UTC
[jira] [Created] (GROOVY-9435) heed help with sql
alex created GROOVY-9435:
----------------------------
Summary: heed help with sql
Key: GROOVY-9435
URL: https://issues.apache.org/jira/browse/GROOVY-9435
Project: Groovy
Issue Type: Question
Reporter: alex
Hello, I need your help.
I wrote a script which launches a saved procedure and the script must returns 2 values. But when I am launching this script I have an error. Could you please tell me what is wrong in the script.
{code:java}
def value = DatabaseUtil.withSql('Test') {
it.callWithAllRows '{call KSAS_EXP.PR\$GET_LOT_BY_UTCODE(?,?,?)}', ['00165606', Sql.VARCHAR, Sql.VARCHAR], { rows ->
}
}
{code}
error
{code:java}
No signature of method: Script1018$_run_closure1$_closure2.doCall() is applicable for argument types: (java.lang.String, java.lang.String) values: [[001-779-308], Серьги «Нежное цветение» (001779308)] Possible solutions: doCall(java.lang.Object), findAll(), findAll()
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)