commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenx (JIRA)" <j...@apache.org>
Subject [jira] Created: (JEXL-51) JEXL-22 (Allow unicode literals to be used) not fixed yet
Date Fri, 31 Oct 2008 02:24:44 GMT
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.


Mime
View raw message