View Revisions: Issue #1244

Summary 0001244: Mariadb driver is chosen even though the MySQL driver is specified
Revision 2013-05-30 14:10 by chenson
Description Mariadb driver is chosen even though the MySQL driver is specified.

This happens because the Mariadb driver is registered with the DriverManager because it is in the classpath. Because it is first in the classpath, it is registered first and the Driver is selected because it can handle the matching URL. The solution is to deregister all drivers that don't match.
Revision 2013-05-30 14:07 by chenson
Description Mariadb driver is chosen even though the MySQL driver is specified