首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

iBatis2异常:com.ibatis.common.jdbc.exception.NestedSQLException

2012-09-20 
iBatis2错误:com.ibatis.common.jdbc.exception.NestedSQLExceptioncom.ibatis.common.jdbc.exception.Nes

iBatis2错误:com.ibatis.common.jdbc.exception.NestedSQLException

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

?

ibatis执行sql时报如上所示错误,将sql语句拷贝出来,在pl/sql中执行正常,最后在网上搜索相关信息才知道原来是ibatis配置的时候,在sql末尾多写了个";"分号。

热点排行