I have two db schema in
one MySQL server, dbabc and dbabc2. I have following db url in
sqlMapConfig.xml:
<dataSource type="SIMPLE">
<property name="JDBC.Driver" value="com.mysql.jdbc.Driver"/>
<property name="JDBC.ConnectionURL"
value="jdbc:mysql://hostName:3306/dbabc2"/>
somehow, iBATIS always connects to dbabc instead of dbabc2.
btw, I'm using Abator generated code against dbabc (actually, dbabc and
dbabc2 are exactly same. The only difference is data in the tables). I
knew this sqlMapConfig.xml was used by iBATIS since I removed it and
iBATIS complained about sqlMapConfig.xml
not found.
thanks for help.
tony
