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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.1, 2.2.2
    • 2.3.0-beta-1, 2.2.3
    • groovy-runtime
    • None
    • 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. TestGroovy.groovy
          1 kB
          Scott Walton
        3. TestH2.groovy
          2 kB
          Scott Walton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: