This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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)


 
Consider Paul's rocket mass heater.
 
subject: com.ibatis.sqlmap.client.SqlMapException: There is no statement named getAll in this SqlMap
 
Similar Threads
Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy.
Problem in iBATIS sqlMapConfig.xml
Persistence: Calling Stored Procedures from iBATIS
Issue with inserting a BLOB using IBatis DAO
WHAT AM I MISSING? iBatis - sqlMapConfig.xml