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
- Host: GitHub
- URL: https://github.com/marschall/locking-datasource
- Owner: marschall
- Created: 2024-04-20T12:44:47.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-20T17:32:37.000Z (about 1 year ago)
- Last Synced: 2025-01-16T02:44:48.604Z (4 months ago)
- Topics: datasource, jdbc, locking
- Language: Java
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Locking DataSource [](https://maven-badges.herokuapp.com/maven-central/com.github.marschall/locking-datasource) [](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```