You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Barbara Lau <bl...@ameritech.net> on 2005/04/12 19:12:21 UTC

ibatis xml config files

Hi,

I am new to ibatis and I have a question regard the
ibatis xml config files. I am using tomcat as web
server and each time when I add a new datasource, I
will update dao.xml(new context id, transaction
manager and dao interface class and implementation
class), create a new XXXsqlmap_config.xml file(put
dataSource, sqlMap resource) and context.xml for
Tomcat. This works fine with few datasources. What if
there are hundreds datasources? Is there a way that I
can make fewer update file instead of create or update
hundreds of config files? Will the JTA's global
transaction help in this issue? 

Thank you all,
PoYee