com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/itcast/Student.xml.
--- The error occurred while applying a parameter map.
--- Check the selectAllStudent-InlineParameterMap.
--- Check the statement (query failed).
--- Cause: java.sql.SQLException: ORA-00911: 无效字符
错误信息如下,找了好久都没有合适的答案,自己又认真看了一下才明白。
O/R映射文件的sql多了一个分号(;)oracle 的sql写多了,时不时的总是写上一个分号,导致了错误.
网上的参考:
(1)可能是javaBean中的数据类型不对;
(2)O/R映射文件某部分错误;