SqlMapException: There is no statement named xxx in this SqlMap.
2018-01-02 15:33
435 查看
1. java.sql.SQLException: Invalid parameter object type. Expected
2. com.ibatis.sqlmap.client.SqlMapException: There is no statement named xxx in this SqlMap.
问题原因:
Dao类方法中没有写对应sql.xml的id名称;
问题2异常,还有其他两种可能原因:
1、在sqlxml文件中有两个标签的id命名相同;
2、实体映射文件sql.xml未加入到sqlMap-Config.xml文件中。
路径对应到即可。
2. com.ibatis.sqlmap.client.SqlMapException: There is no statement named xxx in this SqlMap.
问题原因:
Dao类方法中没有写对应sql.xml的id名称;
问题2异常,还有其他两种可能原因:
1、在sqlxml文件中有两个标签的id命名相同;
2、实体映射文件sql.xml未加入到sqlMap-Config.xml文件中。
路径对应到即可。
相关文章推荐
- there is no statement named xxx in this SqlMap.
- ibatis与spring的配置( There is no statement named XXX in this SqlMap)
- There is no statement named xxx.xxx in this SqlMap
- ibatis There is no statement named XXX in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named 语句名 in this SqlMap.
- ibatis的there is no statement named xxx in this SqlMap
- there is no statement named xxx in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- ibatis的there is no statement named xxx in this SqlMap
- 解闷ibatis与spring的配置( There is no statement named XXX in this SqlMap)
- There is no statement named XXX in this SqlMap
- There is no statement named *** in this SqlMap.
- There is no statement named OproductKey.selectProductkey in this SqlMap
- com.ibatis.sqlmap.client.SqlMapException: There is no statement named Control.insert-control in this SqlMap.
- 解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap
- 解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this SqlMap
- There is no statement named uhr.rcmt.resume.domain.ApplRelation.queryCount in this SqlMap.
- ibatis报错 There is no statement named userList in this SqlMap.
- There is no statement named DYNAMICS.findAll in this SqlMap.