1、SqlMapException: There is no statement named

com.ibatis.sqlmap.client.SqlMapException: There is no statement named PersonSQL.insert in this SqlMap.
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:293)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:429)

解决:

sqlMapConfig 里加入 
<settings 
useStatementNamespaces="true" 
/> 

 

 

posted on 2013-03-06 19:59  yuanmengnan  阅读(147)  评论(0)    收藏  举报