[ https://issues.apache.org/jira/browse/GROOVY-7768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186529#comment-15186529 ]
Ryan Mills edited comment on GROOVY-7768 at 3/9/16 5:22 AM: ------------------------------------------------------------ JDBC Driver was com.sybase.jdbc3.jdbc.SybDriver Functionally, I have code that does the same thing as a work around, so at some level the base Sql handles this. One other thing, it should ideally support a map as a param, not list. Given below, without the imports. was (Author: oniseijin): JDBC Driver was com.sybase.jdbc3.jdbc.SybDriver Functionally, I have code that does the same thing as a work around, so at some level the base Sql handles this. One other thing, it should ideally support a map as a param, not list. > 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 > 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 (v6.3.4#6332)