ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zeltner Martin <martin.zelt...@elca.ch>
Subject Merging multiple sqlmaps configurations
Date Mon, 23 May 2005 10:20:08 GMT
Hello,

I've got following two sqlmaps configuration files:


file1:
<sqlMapConfig>
    <sqlMap resource="ibatis/table-keyword.xml" />
</sqlMapConfig>

file2:
<sqlMapConfig>
    <sqlMap resource="ibatis/table-annotation.xml" />
    <sqlMap resource="ibatis/table-file.xml" />
    <sqlMap resource="ibatis/table-link.xml" />
    <sqlMap resource="ibatis/table-book.xml" />
    <sqlMap resource="ibatis/table-formalpublication.xml" />
    <sqlMap resource="ibatis/table-referencekeywordrelationship.xml" />
</sqlMapConfig>



I'd like to merge these two files now. Is there a possability so that I do
not have to create a file like this below?

file3:
<sqlMapConfig>
    <sqlMap resource="ibatis/table-keyword.xml" />
    <sqlMap resource="ibatis/table-annotation.xml" />
    <sqlMap resource="ibatis/table-file.xml" />
    <sqlMap resource="ibatis/table-link.xml" />
    <sqlMap resource="ibatis/table-book.xml" />
    <sqlMap resource="ibatis/table-formalpublication.xml" />
    <sqlMap resource="ibatis/table-referencekeywordrelationship.xml" />
</sqlMapConfig>


Thanks,
Cheers,
Martin

Mime
View raw message