aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
Problem in iBATIS sqlMapConfig.xml
Issue with inserting a BLOB using IBatis DAO
Persistence: Calling Stored Procedures from iBATIS
WHAT AM I MISSING? iBatis - sqlMapConfig.xml
Metro-iBATIS Problem while deploying web service using iBatis as mapping techonlogy.