ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Goodin <brandon.goo...@gmail.com>
Subject Re: using properties in conf
Date Thu, 03 Feb 2005 16:07:21 GMT
yes this is possible.


On Wed, 2 Feb 2005 14:05:45 +0100, Michał Małecki
<mmalecki@man.poznan.pl> wrote:
> Hello,
> is it possible to use constant properties (${}) in the main configuration
> file, e.g.:
> <sqlMapConfig>
> <properties resource="pl/psnc/progress/szd/rad/common.properties"/>
> <sqlMap resource="${core}" />
> </sqlMapConfig>
> 
> I want to use it to manage files for different db engines. The best would be
> to use just the prefix/suffix,:
> <sqlMap resource="pl/.../file${suffix}.xml" />
> Can we do something like this in ibatis?
> Michał Małecki
> 
>

Mime
View raw message