README.org 3.2 KB

JDBC common code.

Common code related to JDBC.

Status of the project

file:https://travis-ci.org/steinarb/jdbc.svg?branch=master file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=alert_status#.svg file:https://maven-badges.herokuapp.com/maven-central/no.priv.bang.jdbc/jdbc/badge.svg file:https://www.javadoc.io/badge/no.priv.bang.jdbc/jdbc.svg

Sonarqube

file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=ncloc#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=bugs#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=vulnerabilities#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=code_smells#.svg file:https://sonarcloud.io/api/project_badges/measure?project=no.priv.bang.jdbc%3Ajdbc&metric=coverage#.svg

Release history

Date Version Comment
<2021-04-15 Thu 19:49> 1.1.0 Get dependencies and maven config from parent POM. New versions of stuff
<2020-01-03 Fri 23:55> 1.0.0 Add JDBC DataSourceProxy

Overview of the project

DataSourceProxy

This is an implementation of the DataSource interface that has a different DataSource as a property and delegates all methods to the wrapped DataSource object.

To use this in an OSGi maven project by first importing the BoM

no.priv.bang.jdbc jdbc-bom 1.1.1 pom import

And then adding a provided dependency for compilation and a feature repository dependency, to ensure the library is loaded at runtime:

no.priv.bang.jdbc jdbc.datasourceproxy provided no.priv.bang.jdbc jdbc.datasourceproxy xml features

License

This code is licensed under the Apache license v. 2. See the LICENSE file for details.