[
https://issues.apache.org/jira/browse/SLING-3582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated SLING-3582:
-----------------------------------
Fix Version/s: (was: DataSource Provider 0.0.2)
> 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
(v6.3.4#6332)