Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
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?