I am not a committer so I can't commit with other's help.
Could we add a new driver for MySQL 4.x series.
When using the new "com.mysql.jdbc.Driver" jdbc driver from mysql I run
into the following error:
>>
java.lang.InstantiationException: Unknown JDBC driver:
com.mysql.jdbc.Driver: Check your configuration file
at
org.apache.torque.adapter.DBFactory.create(DBFactory.java:246)
<<
My patch to this would be:
org.apache.torque.adapter.DBFactory.java:
private static void initializeDriverToAdapterMap()
{
driverToAdapterMap = new Hashtable();
.
.
// Driver added for the com.mysql.jdbc.Driver MySQL jdbc driver
driverToAdapterMap.put("com.mysql.jdbc.Driver", "DBMYSQL");
.
.
.
}
Thanks,
Viru
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>