The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

djryan7 (6) [Avatar] Offline
#1
-------------------------------------------------------------------------------
Test set: net.chrisrichardson.foodToGo.viewOrdersTransactionScripts.dao.OrderDAOIBatisImplTests
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.438 sec <<< FAILURE!
testFindOrdersWithoutRonum(net.chrisrichardson.foodToGo.viewOrdersTransactionScripts.dao.OrderDAOIBatisImplTests) Time elapsed: 3.406 sec <<< ERROR!
com.ibatis.sqlmap.client.SqlMapException: There is no statement named findOrders in this SqlMap.
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:28smilie
at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:601)
at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:105)
at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:82)
at org.springframework.orm.ibatis.SqlMapClientTemplate$4.doInSqlMapClient(SqlMapClientTemplate.java:256)
at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:165)
at org.springframework.orm.ibatis.SqlMapClientTemplate.executeWithListResult(SqlMapClientTemplate.java:204)
at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:254)
at net.chrisrichardson.foodToGo.viewOrdersTransactionScripts.dao.OrderDAOIBatisImpl.findOrdersInlineWithoutRownum(OrderDAOIBatisImpl.java:87)
at net.chrisrichardson.foodToGo.viewOrdersTransactionScripts.dao.OrderDAOIBatisImplTests.testFindOrdersWithoutRonum(OrderDAOIBatisImplTests.java:49)
ceracm (113) [Avatar] Offline
#2
Re: Error Chapter 11, Dynamic queries, iBATIS test
Other folks have reported problems with iBATIS.
A new version that hopefully fixes those problems and other problems was posted to the website today: http://www.manning.com/crichardson/pia-1.0-20060627-src.zip

Chris