Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-5087 Use OSGi for the Geronimo classloading model.
  3. GERONIMO-5165

Discover database drivers in META-INF/services/java.sql.Driver files

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0-M1
    • databases, osgi
    • Security Level: public (Regular issues)
    • None

    Description

      In Java 6, the DriverManager can discover additional database drivers by scanning classloader for META-INF/services/java.sql.Driver resources. This obviously won't work in OSGi environment.
      We probably will need a little extender that discovers these java.sql.Driver resources and registers the driver with DriverManager.

      Attachments

        Activity

          People

            gawor@mcs.anl.gov Jarek Gawor
            gawor@mcs.anl.gov Jarek Gawor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: