Demo of using GORM in Ratpack with Postgres and Hikari Connection Pool
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Docker
gradle/wrapper
src
.gitignore
README.adoc
build.gradle
gradlew
gradlew.bat

README.adoc

Ratpack, GORM and Hikari Connection Pool

Sample app, to demo configuration of PostgreSQL, GORM and Hikari.

Database Setup

Local Postgres Server

If you have a local PostgreSQL server, you can create the

CREATE USER demo WITH PASSWORD 'demo-password';
CREATE DATABASE demodb;
GRANT ALL ON DATABASE demodb TO demo;

Dockerized Postgres Server

If you don’t have a PostgreSQL server running, you can (assuming you have docker installed) run a docker container, with the database initialized. Use ./gradlew startContainer to start it, and ./gradlew removeContainer