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

DbUtils.loadDriver() uses Class.forName()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: