Bug 1185620

Summary: Feature Request: Include JDBC drivers in mariadb
Product: [Fedora] Fedora Reporter: shreepads
Component: mariadbAssignee: Tomas Repik <trepik>
Status: CLOSED DEFERRED QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 22CC: h1k6zn2m, hhorak, jdornak, jstanek, mmuzila, msrb, shreepads, trepik
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-12 09:55:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description shreepads 2015-01-25 09:50:58 UTC
Description of problem:

The MariDB jdbc driver in not available in the Fedora 21 package repository. It needs to be downloaded separately from https://downloads.mariadb.org/client-java/ and installed.

As the JDBC driver is open source LGPL it should be included as an optional subpackage in mariadb. It is under active development.


Version-Release number of selected component (if applicable):

mariadb   10.0.14-8.fc21


How reproducible:

Install mariadb mariadb-server mariadb-devel from the repository. Also pulls down mariadb-common, libs, but does not include the jdbc drivers.


Actual results:

The drivers are not available in the repository.


Expected results:

The driver should be available in the repository, ideally under a new mariadb-java-client subpackage.

A new mariadb-java-client subpackage is better as not everyone needs it and can then specify a dependency on OpenJDK for this subpackage.

This should install mariadb-java-client-n.n.n.jar and, optionally the mariadb-java-client-n.n.n-javadoc.jar file in the appropriate locations.

It is a Type 4 JDBC driver (https://en.wikipedia.org/wiki/JDBC_driver#Type_4_Driver_-_Database-Protocol_Driver.28Pure_Java_Driver.29) so shouldn't need any other dependencies.


Additional info:

I've tried the current stable mariadb-java-client-1.1.8.jar with the OpenJDK and MariaDB versions straight from the Fedora repos and it works fine.

Comment 1 Jonathan Kamens 2015-05-26 08:28:58 UTC
For whatever reason -- I didn't dig -- in F22, mysql-connector-java does _not_ work for me in LibreOffice Base when attempting to connect to a MariaDB server (the class loads, but can't connect to the database), whereas the mariadb JDBC driver _does_ work, so it would seem all the more important to get this shipped and available for people to use.

Comment 2 Fedora Admin XMLRPC Client 2015-08-11 10:03:25 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2015-11-04 10:53:55 UTC
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '21'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 21 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Jonathan Kamens 2015-11-04 11:07:27 UTC
Still missing in Fedora 22.

Comment 5 Tomas Repik 2015-12-15 07:14:53 UTC
I packaged the JDBC driver. Review request: 

https://bugzilla.redhat.com/show_bug.cgi?id=1291558

Comment 6 Honza Horak 2016-02-12 09:55:40 UTC
I think we can close this bug, since it is tracked in bug #1291558.