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

Sql failed to process query unterminated ' character - legal statement containing quotes

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.2.2
    • Fix Version/s: 2.3.0-beta-1, 2.2.3
    • Component/s: groovy-runtime
    • Labels:
      None
    • Environment:
      Windows, Java 1.7.0_45

      Description

      Groovy sql (worked on Groovy 2.1.9, fails on 2.2.1 and 2.2.2)
      Script fails with

      Caught: java.lang.IllegalStateException: Failed to process query. Unterminated '
      character?
      java.lang.IllegalStateException: Failed to process query. Unterminated ' charact
      er?
      at TestGroovy.main(TestGroovy.groovy:34)

      Script to recreate attached

        Attachments

        1. stackTrace.txt
          3 kB
          Scott Walton
        2. TestH2.groovy
          2 kB
          Scott Walton
        3. TestGroovy.groovy
          1 kB
          Scott Walton

          Activity

            People

            • Assignee:
              paulk Paul King
              Reporter:
              libertyscott Scott Walton
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: