Uploaded image for project: 'Bitbucket Server'
  1. Bitbucket Server
  2. BSERV-11105

Database migration uses the "deprecated" o.j.d.OracleDriver

    XMLWordPrintable

    Details

    • Feedback Policy:
      We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      Problem Definition

      Bitbucket Server config properties documents using oracle.jdbc.driver.OracleDriver, which has been deprecated by Oracle. The system, and the documentation, should be updated to reference oracle.jdbc.OracleDriver, the documented replacement:

      Desupport of oracle.jdbc.driver
      In the initial release of the Oracle JDBC drivers customers were
      advised to use the classes defined in the package
      oracle.jdbc.driver. This has caused problems for customers and for
      Oracle. In Oracle JDBC release 9.0.1 customer use of the classes
      in that package was deprecated. A new package, oracle.jdbc, was
      introduced and customers were advised to begin using the
      interfaces and classes defined in oracle.jdbc. In every release
      since 9.0.1 we have encouraged customers to switch to oracle.jdbc
      and stated that oracle.jdbc.driver would be desupported. The time
      has come. Customer code that references oracle.jdbc.driver will
      not compile and will not execute in this and future releases of
      the Oracle JDBC drivers. Please use oracle.jdbc instead.

      (Quote is from here.)

      Suggested Solution

      • Update the driver Class to oracle.jdbc.OracleDriver in the Database/jdbc.driver section.
      • Update the system to use oracle.jdbc.OracleDriver during migration
      • Update the system to detect the legacy o.j.d.OracleDriver class and automatically switch to o.j.OracleDriver at runtime

        Attachments

          Activity

            People

            Assignee:
            bturner Bryan Turner
            Reporter:
            ezeidan Elias Zeidan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: