This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes    com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "   com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap" Watch "   com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap" New topic
Author

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

bhavit pant
Greenhorn

Joined: May 22, 2012
Posts: 21

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
 
subject: com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap