An open API service indexing awesome lists of open source software.

https://github.com/marschall/locking-datasource

a DataSource where every call to #getConnection() goes through a global lock
https://github.com/marschall/locking-datasource

datasource jdbc locking

Last synced: 3 months ago
JSON representation

a DataSource where every call to #getConnection() goes through a global lock

Awesome Lists containing this project

README

        

Locking DataSource [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/locking-datasource/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/locking-datasource) [![javadoc](https://javadoc.io/badge2/com.github.marschall/locking-datasource/javadoc.svg)](https://javadoc.io/doc/com.github.marschall/locking-datasource)
==================

A DataSource where every call to `#getConnection()` goes through a global lock.

Use this when `DataSource#getConnection()` or `Driver#connect(String, Properties)` is not thread safe for your JDBC driver and your connection pool creates connections in the calling thread.

```xml

com.github.marschall
locking-datasource
1.0.0

```