Commons DbUtils
  1. Commons DbUtils
  2. DBUTILS-81

DbUtils.loadDriver() uses Class.forName()

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. DBUTILS-81.patch
        2 kB
        Simone Tripodi

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development