Skip to content

Commit 971854a

Browse files
committed
start updating documentation
1 parent d3e30cf commit 971854a

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,50 @@
1+
![GitHub forks](https://img.shields.io/github/forks/UnterrainerInformatik/java-rdb-utils?style=social) ![GitHub stars](https://img.shields.io/github/stars/UnterrainerInformatik/java-rdb-utils?style=social) ![GitHub repo size](https://img.shields.io/github/repo-size/UnterrainerInformatik/java-rdb-utils) [![GitHub issues](https://img.shields.io/github/issues/UnterrainerInformatik/java-rdb-utils)](https://github.com/UnterrainerInformatik/java-rdb-utils/issues)
2+
3+
[![license](https://img.shields.io/github/license/unterrainerinformatik/FiniteStateMachine.svg?maxAge=2592000)](http://unlicense.org) [![Travis-build](https://travis-ci.org/UnterrainerInformatik/java-rdb-utils.svg?branch=master)](https://travis-ci.org/github/UnterrainerInformatik/java-rdb-utils) [![Maven Central](https://img.shields.io/maven-central/v/info.unterrainer.commons/rdb-utils)](https://search.maven.org/artifact/org.webjars.npm/rdb-utils) [![Twitter Follow](https://img.shields.io/twitter/follow/throbax.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/throbax)
4+
5+
6+
7+
18
# rdb-utils
29

310
A library to help with accessing and managing JAVA-persistence-layer enabled relational databases.
411

12+
## RdbConfiguration
13+
14+
This is a class, that gathers the necessary configuration information to run a database-connection. It tries to get this information from environment variables and, if those are not present, provides default values.
15+
16+
The environment variables are:
17+
18+
```bash
19+
DB_DRIVER="mariadb"
20+
DB_SERVER="10.10.196.4"
21+
DB_PORT="3306"
22+
DB_NAME="test"
23+
DB_USER="test"
24+
DB_PASSWORD="test"
25+
```
26+
27+
28+
29+
## RdbUtils
30+
31+
Open EntityManagerFactory and shutdownhook
32+
33+
Liquibase
34+
35+
36+
37+
## LocalDateTime and ZonedDateTime converter
38+
39+
This library also provides two two-way converters for LocalDateTime and ZonedDateTime to SQL and back.
40+
41+
### Usage
42+
43+
```java
44+
45+
```
46+
47+
48+
49+
## Transactions
50+

0 commit comments

Comments
 (0)