开发者社区> 问答> 正文

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 446 0
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
问答地址:
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载