[
https://issues.apache.org/jira/browse/CONNECTORS-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184953#comment-14184953
]
Markus Schuch edited comment on CONNECTORS-1083 at 10/27/14 8:38 AM:
---------------------------------------------------------------------
Sorry, there was still a bug in the code.
My tests were invalid because i had still a mysql-connector.jar in the
classpath. Therefore i did not recognize that DBInterfaceMariaDB was still
using the mysql driver class.
CONNECTORS-1083.driverclass-bug.patch attached
was (Author: schuchm):
Sorry, there was still a bug in the code.
My tests were invalid because i had still a mysql-connector.jar in the
classpath. Therefore i did not recognize that DBInterfaceMariaDB was still
using the mysql driver class.
> MariaDB Java Client Support
> ---------------------------
>
> Key: CONNECTORS-1083
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1083
> Project: ManifoldCF
> Issue Type: Wish
> Components: Framework core
> Affects Versions: Manifold 1.7.1
> Reporter: Markus Schuch
> Assignee: Karl Wright
> Priority: Critical
> Fix For: ManifoldCF 1.8, ManifoldCF 2.0
>
> Attachments: CONNECTORS-1083.driverclass-bug.patch,
> CONNECTORS-1083.patch, CONNECTORS-1083_whitespace_svnkeywords.patch
>
>
> ManifoldCF runs on top of a MySQL database.
> Support for MariaDB (https://mariadb.org) should be easy to implement since
> MariaDB is binary compatible to MySQL.
> {{DBInterfaceMySQL}} already works on top of a MariaDB. But using the MariaDB
> Java Client is not possible since the MariaDB driver has a different class
> name: {{org.mariadb.jdbc.Driver}}.
> A new database implementation {{DBInterfaceMariaDB}} extending the existing
> {{DBInterfaceMySQL}} should solve this. Minor adjustments to
> {{DBInterfaceMySQL}} are necessary, since the JDBC driver class is currently
> passed to the super constructor which makes it hard to replace it. (see
> provided patch)
> Due to license issues (LGPL), the MariaDB JDBC driver cannot be shipped with
> ManifoldCF.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)