Warning! The service is a simple example, you shouldn't use the same configuration on production aria.
I highly recommend reading links:
- I used gradle plugin for kts and jooq: gradle plugin
- You can find more information and download here: Jooq pricing
- Read more information about transactional: Transactional
- Useful subject about Jooq [RUS]: habr
-
plugin:
id("com.rohanprabhu.kotlin-dsl-jooq") version "0.4.6" -
dependencies:
jooqGeneratorRuntime("org.postgresql:postgresql:${VERSION}")
runtimeOnly("org.postgresql:postgresql")
- there are three cases for jooq generator
classic with connection to DB (primary)
generate xml from DB
generate pojo form XML
- run with simple compose file (You should have docker)
jooq-contest-maven
folder with maven samples