Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-4880

Support JDBC driver registration using ServiceLoader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.9.0
    • Component/s: Client - JDBC
    • Labels:
      None
    • Environment:

      Windows Server 2012

      Description

      Currently drill-jdbc-all*.jar doesn't contain a META_INF/services/java.sql.Driver file which is apparently used to discover a service by Java ServiceLoader API.

      Can drill jdbc driver have this file like all the other jdbc drivers so that the driver can be loaded using ServiceLoader instead of a direct Class.forName?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                laurent Laurent Goujon
                Reporter:
                SudipM Sudip Mukherjee
                Reviewer:
                Chun Chang
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: