https://github.com/guilt/dbcm
Java Database Connection Manager.
https://github.com/guilt/dbcm
Last synced: over 1 year ago
JSON representation
Java Database Connection Manager.
- Host: GitHub
- URL: https://github.com/guilt/dbcm
- Owner: guilt
- License: mit
- Created: 2017-04-08T18:07:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-11-23T18:59:36.000Z (over 2 years ago)
- Last Synced: 2025-02-24T10:13:50.711Z (over 1 year ago)
- Language: Java
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
About
-----
Java Database Connection Manager.
Usage
-----
Modern Java Usage:
```java
try(Connection con = ConnectionManagerHelper.getConnection()) {
//Blah.
}
```
Traditional Java Usage:
```java
try {
Connection con = ConnectionManagerHelper.getConnection();
//Blah.
} catch(SQLException sqle) {
//Handle Errors.
} finally {
ConnectionManagerHelper.closeConnection(con);
}
```
Installing
----------
```bash
mvn install -DperformRelease
```
Limitations
-----------
This software comes with no warranty, implicit or explicit. Use
this at your own risk. Suggestions/bug reports/fixes are always welcome.
Feedback
--------
* Author: Karthik Kumar Viswanathan
* Web : http://karthikkumar.org
* Email : karthikkumar@gmail.com