[
https://issues.apache.org/jira/browse/GROOVY-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King closed GROOVY-7768.
-----------------------------
> 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: SQL processing
> Affects Versions: 2.4.0
> Reporter: Ryan Mills
> Assignee: Paul King
> Priority: Major
> Fix For: 6.0.0-alpha-1
>
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> 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
(v8.20.10#820010)