You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/05/06 10:33:00 UTC

[jira] [Resolved] (SLING-3582) Support OSGi DataSourceFactory for obtaining connection

     [ https://issues.apache.org/jira/browse/SLING-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-3582.
-------------------------------------
    Resolution: Won't Fix

> Support OSGi DataSourceFactory for obtaining connection
> -------------------------------------------------------
>
>                 Key: SLING-3582
>                 URL: https://issues.apache.org/jira/browse/SLING-3582
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>
> DataSource provider currently obtains connection via using the Driver class directly. OSGi provides DataSourceFactory [1]. This factory is supposed to be provided by driver providers and is preferred way to creating DataSource in OSGi env
> Pax Jdbc [2] provides DataSourceFactory impls for quite a few drivers [3] 
> [1] http://www.osgi.org/javadoc/r4v42/org/osgi/service/jdbc/DataSourceFactory.html
> [2] https://ops4j1.jira.com/wiki/display/PAXJDBC/Pax+JDBC
> [3] https://ops4j1.jira.com/wiki/display/PAXJDBC/Native+Driver+Adapters



--
This message was sent by Atlassian Jira
(v8.20.10#820010)