Skip to content

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

License

Notifications You must be signed in to change notification settings

UnterrainerInformatik/java-rdb-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Gerald Unterrainer
Oct 11, 2022
115f5dc · Oct 11, 2022
Apr 28, 2021
Jul 28, 2022
Sep 30, 2022
Nov 3, 2020
Jul 27, 2022
Jul 27, 2022
Jun 4, 2022
Sep 9, 2020
Apr 20, 2020
Feb 14, 2021
Oct 11, 2022

Repository files navigation

GitHub forks GitHub stars GitHub repo size GitHub issues

license Travis-build Maven Central Twitter Follow

rdb-utils

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

RdbConfiguration

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.

The environment variables are:

DB_DRIVER="mariadb"
DB_SERVER="10.10.196.4"
DB_PORT="3306"
DB_NAME="test"
DB_USER="test"
DB_PASSWORD="test"

RdbUtils

Open EntityManagerFactory and shutdownhook

Liquibase

LocalDateTime and ZonedDateTime converter

This library also provides two two-way converters for LocalDateTime and ZonedDateTime to SQL and back.

Usage

Transactions