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

Sql.query methods pass java.sql.ResultSet to the closure, instead of GroovyResultSet

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.6
    • Fix Version/s: 2.4.7
    • Component/s: None
    • Labels:

      Description

      The documentation says:

      * @param closure called for each row with a GroovyResultSet
      

      Instead, the java ResultSet is passed which prevents from using convenient groovy methods on the result passed over to the closure

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              a.atapin@gmail.com Andrey Atapin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: