To build the project:
mvn package -Dpostgres.host=localhost -Dpostgres.port=5432 -Dpostgres.db=postgres -Ddb.schema=example_schema -Dpostgres.username=postgres -Dpostgres.password=postgres
To run the app with values defined in configuration src/main/config/default.yaml
:
java -jar target/jooq-postgres-partition-query-problem-1.0-SNAPSHOT.jar -serve src/main/config/default.yaml
or with explicit variables:
java -Ddw.jdbcUrl=jdbc:postgresql://localhost:5432/postgres?currentSchema=example_schema -Ddw.jdbcUser=postgres -Ddw.jdbcPassword=postgres -jar target/jooq-postgres-partition-query-problem-1.0-SNAPSHOT.jar server src/main/config/default.yaml