ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graeme J Sweeney <ibatis.u...@gjsweeney.com>
Subject Re: error parsing xml files
Date Mon, 03 Jul 2006 13:56:43 GMT
On Mon, 3 Jul 2006, Thomas Karl Schwaerzler wrote:

> com.ibatis.common.exception.NestedRuntimeException: Could not find SQL 
> statement to include with refid 
> 'user_ODM_LINK.abatorgenerated_Example_Where_Clause'

Is it a namespace issue?

<snip/>

> here my SqlMapConfigAbator.xml
>
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE sqlMapConfig
>   PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
>   "http://www.ibatis.com/dtd/sql-map-config-2.dtd">
> <!-- Always ensure to use the correct XML header as above! -->
> <sqlMapConfig>

Add this:

   <settings useStatementNamespaces="true"/>

>    <sqlMap 
> resource="org/dea/odm/model/dao/test/sqlmap/c108272dev_ODM_LINK_SqlMap.xml" 
> />
> </sqlMapConfig>

-- 
Graeme -

Mime
View raw message