Uploaded image for project: 'Commons DbUtils'
  1. Commons DbUtils
  2. DBUTILS-81

DbUtils.loadDriver() uses Class.forName()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The Class.forName() statement should be avoided due to potential OSGi issues - commons components are OSGi bundles!
      The ClassLoader should be used instead to load classes and add a new method to pass custom ClassLoader.

      Attachments

        1. DBUTILS-81.patch
          2 kB
          Simone Tripodi

        Activity

          People

            simone.tripodi Simone Tripodi
            simone.tripodi Simone Tripodi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: