Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-51

JEXL-22 (Allow unicode literals to be used) not fixed yet

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1
    • 2.0
    • None
    • windowsxp jdk5

    Description

      I want send a statement from jxls to jexl like : " rm.exec('SELECT id ,name from wrangler.test where name=''测试''') " ,the parameter is Chinese String.
      Throw exception"
      java.lang.RuntimeException: Can't parse an expression rm.exec('SELECT id ,name from wrangler.test where name=''测试''')
      com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Unknown column '测试' in 'where clause'
      the reason is the Chinese "测试'" be change to '测试' .
      I try commons-jexl-20070823.tar.gz and t Randy H's way,Can not resolve this problem.
      Can anyone help me?

      Attachments

        Activity

          People

            Unassigned Unassigned
            chenx chenx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: