开发者社区 问答 正文

ibatis 报错求解答?报错

Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in com/ait/hrm/sql/empinfo/sql.xml.  
--- The error occurred while applying a parameter map.  
--- Check the hrm.empinfo.retrieveEvaluateByMonth-InlineParameterMap.  
--- Check the statement (query failed).  
--- Cause: java.sql.SQLException: ORA-00911: 无效字符


Caused by: java.sql.SQLException: ORA-00911: 无效字符

测试过 sql 没问题



展开
收起
爱吃鱼的程序员 2020-06-22 11:33:09 496 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    打印出来sql,将sql放到命令行查到了是ibatis处理中文成乱码了参数绑定问题回复<aclass='referer'target='_blank'>@blunt_tt:这还真没遇到过。对接的时候编码可能不统一吧是ibatis处理中文成乱码了

    乱码跟ibatis没关系吧


    2020-06-22 11:33:25
    赞同 展开评论
问答分类:
SQL
问答地址: