I think our mailing list is a bit fried....what's the deal with the reposts? 

(I'm pretty sure it's not the users)

Clinton


On Thu, 17 Feb 2005 10:06:32 -0700, Baker, Russ <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I am having issues with creating a sql map. I have set up the application 
> according to the developer's guide, and for some reason, it isn't loading the 
> sql maps.  I have enclosed the configuration files and the Java file that 
> gets the sqlMap. I have isolated the handing out of the SqlMapClient via a 
> singleton, and for testing purposes, I used the SqlMapClientImpl so I can get 
> at the SqlMapExecutorDelegate to see what SqlMaps are loaded. I wrote a test 
> for the singleton and am getting the following stack trace:
> 
> com.ibatis.sqlmap.client.SqlMapException: There is no statement named 
> getEmergencyInfo in this SqlMap.
>         at 
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement(SqlMapExecutorDelegate.java:288)
>         at 
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:552)
>         at 
> com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:536)
>         at 
> com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:97)
>         at 
> com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForObject(SqlMapClientImpl.java:69)
>         at 
> com.ball.persistence.ibatis.dao.IbatisSqlMapManagerTest.testBTestSqlMap(IbatisSqlMapManagerTest.java:38)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:324)
>         at junit.framework.TestCase.runTest(TestCase.java:154)
>         at junit.framework.TestCase.runBare(TestCase.java:127)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at junit.textui.TestRunner.doRun(TestRunner.java:116)
>         at 
> com.intellij.rt.execution.junit2.IdeaJUnitAgent.doRun(IdeaJUnitAgent.java:57)
>         at junit.textui.TestRunner.start(TestRunner.java:172)
>         at 
> com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
>         at 
> com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:97)
>         at 
> com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
> 
> What could be possibly happening? I thought that I set up the files the way 
> the Developer's Guide states.
> 
> Thanks,
> 
> Russ B.
> 
> 
>

Reply via email to