Sounds good. I've committed the change.

(If the other devs could double check the commit, I'd appreciate it. I'm
fairly sure I know what I'm doing, but not 100%).

Thanks,
Stephen

> -----Original Message-----
> From: Virender Singh [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 12, 2002 4:29 PM
> To: [EMAIL PROTECTED]
> Subject: patch for latest mysql driver : com.mysql.jdbc.Driver
> 
> 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:turbine-torque-dev-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:turbine-torque-dev-
> [EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to