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

Sql.rows(gstring) fails while Sql.rows(string) works

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4.15, 2.6.0-alpha-4, 3.0.0-alpha-3, 2.5.2
    • None
    • SQL processing
    • None

    Description

      Calling `sql.rows(string)` works while calling `sql.rows(gstring)` returns an empty result set.
      This indicates a possible bug in the protected method `groovy.sql.Sql.asSql()`.

      I have created a sample program which demonstrates the behavior at https://github.com/jnunderwood/groovy-sql-test

      Attachments

        Activity

          People

            Unassigned Unassigned
            jnunderwood John N Underwood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: