ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tony Qian" <daqiqi...@aol.com>
Subject mySQL database connection issue
Date Wed, 07 Jun 2006 18:56:22 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<font size="2"><font face="Arial,sans-serif">I have two db schema in
one MySQL server, dbabc and dbabc2. I have following db url in
&nbsp;&nbsp; &lt;dataSource type="SIMPLE"&gt;<br>
&nbsp;&nbsp; &lt;property name="JDBC.Driver" value="com.mysql.jdbc.Driver"/&gt;<br>
&nbsp; &lt;property name="JDBC.ConnectionURL"
somehow, iBATIS always connects to dbabc instead of dbabc2.<br>
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 </font></font><font size="2"  face="Arial,sans-serif"><font
not found.<br>
thanks for help.<br>

View raw message