Uploaded image for project: 'Hibernate ORM'
  1. HHH-12901

Enable loading of additional JDBC drivers from a local path

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 5.3.5, 5.4.0.CR1
    • Components: build, testsuite
    • Labels:
      None
    • Last commented by a user?:
      true
    • Sprint:

      Description

      To make it more convenient to setup for testing (integration testing) with database vendors which don't upload their JDBC drivers to public repositories, I'm introducing an option to have the build load JDBC drivers from an absolute path.

      There will be a new environment variable ADDITIONAL_REPO which you can point to a local directory (use a full path). This directory is expected to have the JDBC drivers.

      For example for Oracle I will copy the ojdbc8.jar driver in ~/3rd-party, then I can invoke:

      ADDITIONAL_REPO=~/3rd-party ./gradlew matrix_oracle
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: