Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.2.0
-
None
-
JDBC
Description
JdbcURL throws an IllegalArgumentException if the passed URL isn't for MariaDB but the JDBC driver manager class expects to catch an SQLException. If the MariaDB driver is in the list before the target driver for a URL then the application fails. This is a consequence of the probing mechanism implemented by JDBC of registered drivers. JDBC drivers should always throw derivatives of SQLException.