geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-5165) Discover database drivers in META-INF/services/java.sql.Driver files
Date Wed, 03 Mar 2010 16:26:27 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-5165?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12840716#action_12840716
] 

Jarek Gawor commented on GERONIMO-5165:
---------------------------------------

Committed (in revision 918544) a little extender that scans bundles for META-INF/services/java.sql.Driver
resources and installs the drivers with DelegatingDriver.


> Discover database drivers in META-INF/services/java.sql.Driver files
> --------------------------------------------------------------------
>
>                 Key: GERONIMO-5165
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5165
>             Project: Geronimo
>          Issue Type: Sub-task
>      Security Level: public(Regular issues) 
>          Components: databases, osgi
>    Affects Versions: 3.0
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>             Fix For: 3.0
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message