Thanks, Christian,
JPM finds org.ops4j.pax.jdbc but search in Maven finds org.osgi.service.jdbc.
I presume both are suitable.
Paul
On 9/06/2016 8:49 PM, Christian Schneider wrote:
Since R6 there are now separate bundles for each spec.
You should use this bundle instead of the full spec jar.
http://search.maven.org/#artifactdetails|org.osgi|org.osgi.service.jdbc|1.0.0|jar
Christian
On 09.06.2016 12:41, Paul F Fraser wrote:
Hi,
I have been using the H2 DataSourceFactory which requires osgi.enterprise without any obvious
problems.
H2 Docs
The standard H2 jar can be dropped in as a bundle in an OSGi container. H2 implements the JDBC
Service defined in OSGi Service Platform Release 4 Version 4.2 Enterprise Specification. The H2
Data Source Factory service is registered with the following
properties:|OSGI_JDBC_DRIVER_CLASS=org.h2.Driver|and|OSGI_JDBC_DRIVER_NAME=H2|.
The|OSGI_JDBC_DRIVER_VERSION|property reflects the version of the driver as is.
The following standard configuration properties are supported:|JDBC_USER, JDBC_PASSWORD,
JDBC_DESCRIPTION, JDBC_DATASOURCE_NAME, JDBC_NETWORK_PROTOCOL, JDBC_URL, JDBC_SERVER_NAME,
JDBC_PORT_NUMBER|. Any other standard property will be rejected. Non-standard properties will be
passed on to H2 in the connection URL.
Because of the "osgi.compile.time.only;filter:="(&(must.not.resolve=*)..." setting in v6 I need
to use v5.
Is there any known problem likely to bite me using v5?
Or is there another better solution? I do not think the discussion in bndtools list covered this
particular situation.
Paul Fraser
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev