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
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to