You need Hibern8 with my experimental schema annotation generation patch.
To try it out, ensure out urual Postgres test database is running on podman:
podman machine start
./docker_db.sh postgresql
Then export the schema to Postgres:
./gradlew eS
Then run the generator and compile the code:
./gradlew gSA
./gradlew cJ