commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chenx (JIRA)" <j...@apache.org>
Subject [jira] Closed: (JEXL-51) JEXL-22 (Allow unicode literals to be used) not fixed yet
Date Wed, 05 Nov 2008 07:21:44 GMT

     [ 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.


Mime
View raw message