Skip to content

Commit 893d716

Browse files
committed
add a section describing on how to generated the pg_catalog jOOQ sources
1 parent 2136b88 commit 893d716

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,28 @@ make test
224224

225225
Afterward, the project can be started in IntelliJ by navigating to `Run` -> `Run '...'`.
226226

227+
#### Generating jOOQ sources
228+
229+
To update the generated jOOQ sources from schema `pg_catalog`, you need to run the application in dev mode first to start the PostgreSQL Dev Service:
230+
231+
```bash
232+
make run
233+
234+
# or
235+
236+
./gradlew :operator:quarkusDev
237+
```
238+
239+
Once the application is running (and the database is available on port 5432), run the following command:
240+
241+
```bash
242+
make generate-jooq
243+
244+
# or
245+
246+
./gradlew :generated:jooqCodegen
247+
```
248+
227249
### Docker Environment
228250

229251
See [Docker Environment](docs/docker-environment.md) for setting up a local development environment using Quarkus Dev Services.

0 commit comments

Comments
 (0)