I ran our tests and substitued "Lookup" for one of the namespaces. It all ran fine. If you can put together a unit test that shows this behavior and attach it to JIRA that would help us to diagnose the problem But, i have a notion you are making a mistake in a place that we can't see from your explanation.
Brandon On 4/21/05, Larry Meadors <[EMAIL PROTECTED]> wrote: > Nope, there are no reserved words in namespaces that I am aware of. > > Is it possible that you had a "." in the name before? I found a potential > issue with that just this morning. :-/ > > Larry > > > On 4/21/05, Jason Hall <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > I tried using <sqlMap namespace="Lookup"> and I get this error > > > > com.ibatis.sqlmap.client.SqlMapException: There is no > statement named Lookup.getAdlDTO-AllRows in this SqlMap. > com.ibatis.sqlmap.engine.mapping.statement.MappedStatement > com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.getMappedStatement > (java.lang.String) java.util.List > com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(com.ibatis.sqlmap.engine.scope.SessionScope, > java.lang.String, java.lang.Object, int, int) java.util.List > com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList > (com.ibatis.sqlmap.engine.scope.SessionScope, > java.lang.String, java.lang.Object) java.util.List > com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(java.lang.String, > java.lang.Object) java.util.List > com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(java.lang.String, > java.lang.Object) void ca.cihi.omhrs.TestIbatis.main(java.lang.String[]) > > > > > > > > > > but if i change it to <sqlMap namespace="Lookups"> it works. > > Is lookup a reserved word for ibatis? > > > > My xml file is Lookup.xml, namespace is Lookup. > > > > Help. > > > > Thanks, > > > > J.H. > >