ibatis error occurred while applying a parameter map.

来源:互联网 发布:手机照片缩小软件 编辑:程序博客网 时间:2024/06/07 05:15
--- The error occurred in sqlmap/test/test.xml.  
--- The error occurred while applying a parameter map.  
--- Check the test.update-InlineParameterMap.  
--- Check the statement (update failed).  

--- Cause: java.sql.SQLException: 无效的 SQL 类型


这种情况先把sql放数据库里跑一跑,一般是SQL不对。我这个问题搞笑的是,当时两个工程有同样的sqlMap.xml,那SQL翻来覆去检查都没问题。最后才发现原来SQL放错工程了

原创粉丝点击