[ 
https://issues.apache.org/jira/browse/JEXL-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

chenx closed JEXL-51.
---------------------

    Resolution: Fixed

I make a mistake,the statement  rm.exec('SELECT id ,name  from wrangler.test 
where name='+'测试'+'')  is a syntax error

> JEXL-22 (Allow unicode literals to be used) not fixed yet 
> ----------------------------------------------------------
>
>                 Key: JEXL-51
>                 URL: https://issues.apache.org/jira/browse/JEXL-51
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: windowsxp jdk5
>            Reporter: chenx
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to