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)

Reply via email to