Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-7768

groovy.sql.Sql callWithAllRows returns blank result when passing params

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.0
    • None
    • SQL processing
    • None

    Description

      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 []

      Attachments

        Activity

          People

            Unassigned Unassigned
            oniseijin Ryan Mills
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 5h
                5h
                Remaining:
                Remaining Estimate - 5h
                5h
                Logged:
                Time Spent - Not Specified
                Not Specified