ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Henrique Ferreira e Silva <dhsi...@gmail.com>
Subject Re: Including a SqlMapConfig.xml file
Date Tue, 11 Oct 2005 14:10:43 GMT
Hi Matilda,

That's because you're using a sqlMap tag to include a config file.
That won't work afaik.
Not sure there is a way to do that within iBATIS.
But you can try xml includes. I guess they'd work fine.

Hope that helped.

Daniel Silva.

On 10/11/05, Matilda Östling <matilda.ostling@ladok.umu.se> wrote:
> Hi,
> I have a little problem. How do I include a SqlMapConfig-file into another
> SqlMapConfig-file. In our project we have a file called
> CommonSqlMapConfig.xml which we would like to include in all other more
> specific xml-files.
> I have tried
> <sqlMap resource="se/ladok/batch/common/maps/CommonSqlMapConfig.xml"/>
> I do not get an errormessage while building the project but when running the
> application the included xml-files in CommonSqlMapConfig.xml are not found.
> Thanks in advance!
> Best regards
> /Matilda

View raw message