/osgi-jdbc-jtds

Appender to JTDS to have the org.osgi.service.jdbc.DataSourceFactory OSGi service exported

Primary LanguageJavaApache License 2.0Apache-2.0

osgi-jdbc-jtds

Appender to JTDS that registers org.osgi.service.jdbc.DataSourceFactory OSGi service based on the JTDS JDBC driver.

During the call of DataSourceFactory.createDataSource(java.util.Properties) and DataSourceFactory.createXADataSource(java.util.Properties) functions the following properties can be defined:

In case any of the configuration parameter is duplicated by using both the constants of DataSourceFactory and Driver class the one defined with the constant of [DataSourceFactory] will be applied.

If you like this bundle, you might be interested in the osgi-jdbc-dsf project that:

  • is a configurable component (configuration via configadmin)
  • picks up a DataSourceFactory OSGi service
  • Creates a Driver, DataSource or XADataSource and registers it as an OSGi service

Download

The artifact is available on maven-central.