You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/10/15 08:18:03 UTC

[GitHub] [incubator-shardingsphere] zhumaoliang opened a new issue #3278: shardingjdbc 在执行update语句报错

zhumaoliang opened a new issue #3278: shardingjdbc 在执行update语句报错
URL: https://github.com/apache/incubator-shardingsphere/issues/3278
 
 
   [我配置了读写分离,在执行update] 语句时候出错,该语句中包含case when ,比如UPDATE
           OTS_ORDER
           SET
           UPDATE_DATE = now(),
           <if test="entity.updateBy!=null and entity.updateBy != ''">
               UPDATE_BY=#{entity.updateBy},
           </if>
   		<![CDATA[ STATE = ((CASE WHEN (STATE is null) THEN 1 ELSE STATE+1 END)) ]]>
   错误信息如下:
   org.antlr.v4.runtime.tree.TerminalNodeImpl cannot be cast to org.antlr.v4.runtime.ParserRuleContext

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services