You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Ryan Mills (JIRA)" <ji...@apache.org> on 2016/02/26 04:49:18 UTC

[jira] [Created] (GROOVY-7768) groovy.sql.Sql callWithAllRows returns blank result when passing params

Ryan Mills created GROOVY-7768:
----------------------------------

             Summary: groovy.sql.Sql callWithAllRows returns blank result when passing params
                 Key: GROOVY-7768
                 URL: https://issues.apache.org/jira/browse/GROOVY-7768
             Project: Groovy
          Issue Type: Bug
          Components: groovy-jdk
    Affects Versions: 2.4.0
            Reporter: Ryan Mills


callWithAllRows works with regular sql, and an empty list.
call works with a map or list

Howver, callWithAllRows returns an empty list when using with params eg.)
List list = new ArrayList();
l.add("myid");
sql.callWithAllRows("sp_who ?", list, {}); 

result is []



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)