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

Strange bugs with GroovyResultSet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.4
    • None
    • SQL processing
    • None

    Description

      If you have a GroovyResultSet, then this code works:

      String s = "${rs}"
      println rs
      

      while this doesn't:

      String s = rs.toString()
      println rs.getClass()
      

      Calling any method not defined in the interface GroovyResultSet (even if it is defined on the implementation object) will cause a MethodNotFoundException.

      Attachments

        Issue Links

          Activity

            People

              paulk Paul King
              digulla Aaron Digulla
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: