ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baker, Russ" <RABA...@ball.com>
Subject RE: Cannot get sqlMaq
Date Thu, 17 Feb 2005 17:50:04 GMT

Thanks for the info. I looked at the "statement" spelling and corrected that. What exactly
do you mean by v2, the xml version?



-----Original Message-----
From: Kris Jenkins [mailto:krisajenkins@yahoo.co.uk]
Sent: Thursday, February 17, 2005 10:46 AM
To: ibatis-user-java@incubator.apache.org
Subject: Re: Cannot get sqlMaq

In addition, it looks like you're using v1.  I'd strongly advise you to 
upgrade to v2 if you're just getting started.


roberto wrote:

><statement> is misspelled in EnergencyContact.xml.
>>-----Original Message-----
>>From: Baker, Russ [mailto:RABAKER@ball.com]
>>Sent: Thursday, February 17, 2005 12:28 PM
>>To: ibatis-user-java@incubator.apache.org
>>Subject: Cannot get sqlMaq
>>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
>>	at
>>	at
>>	at
>>	at
>>	at
>>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>	at
>>	at
>>	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
>>	at junit.textui.TestRunner.start(TestRunner.java:172)
>>	at
>>	at
>>	at
>>What could be possibly happening? I thought that I set up the files the
>>way the Developer's Guide states.
>>Russ B.

Kris Jenkins
Email:  kris@jenkster.com
Blog:   http://cafe.jenkster.com/
Wiki:   http://wiki.jenkster.com/

View raw message