You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/05/20 14:21:40 UTC
[jira] [Created] (SLING-3582) Support OSGi DataSourceFactory for
obtaining connection
Chetan Mehrotra created SLING-3582:
--------------------------------------
Summary: 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
Fix For: DataSource Provider 0.0.2
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.2#6252)