• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap

 
bhavit pant
Greenhorn
Posts: 21
Eclipse IDE Java Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey i am trying to learn ibatis,
i getting the exception as above.
this is ``snapshot of what i did please help where i am wrong.



this is SqlMapConfig


this is main java file

this is what inside java main


this is the detailed exception report

com.ibatis.common.jdbc.SimpleDataSource@2bb514
Going to read record.....
Exception in thread "main" com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap.
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:231)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:558)
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:94)
at com.test.IbatisResultMap.main(IbatisResultMap.java:19)


 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic