Hi Mohammad,

pax-jdbc 0.5.0 is released now.

You can try it with:
feature:repo-add mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.5.0/xml/features
feature:install pax-jdbc-postgresql

This will install postgresql 9.4.0 together with the spec package. If you just want the spec use feature:install pax-jdbc-spec. Btw. The new postgresql already includes a DataSourceFactory. So it is quite easy to use.

You should also take a look at the (pooled and XA) DataSource creation from configs:
https://ops4j1.jira.com/wiki/display/PAXJDBC/Create+DataSource+from+config
https://ops4j1.jira.com/wiki/display/PAXJDBC/Pooling+and+XA+support+for+DataSourceFactory

Christian

On 20.02.2015 16:47, Mohammad Shamsi wrote:
Hi All,

Using Postgresql JDBC driver, I have to provide a bundle that is exposing "osgi.services.jdbc" package. So I added osgi.enterprise (v 5.0) but apparently it is hiding bundle related commands. in other words I don't have bundle:* commands in the console anymore.

With osgi.enterprise 4.2 I DO NOT have such an issue.

Any idea?

Regards,
Mohammad Shamsi


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

Reply via email to