jooq. jdbi. spring's jdbc-template
# server
e
jooq. jdbi. spring's jdbc-template
n
evanchooly: Does jOOQ generate Kotlin code for DB mapping?
e
i doubt it.
n
Doesn't matter too much about code generation. See that jOOQ has a DSL for creating DBs, tables, indexes etc, which is fine 😃. Does jOOQ work with Vert.x?
What high level concurrency options does jOOQ support?
j
JOOQ should work fine with VertX, just remember to make DB calls in
vertx().executeBlocking
blocks, otherwise you’ll be blocking the eventLoop
g
Jooq! Does not explicitly generate Kotlin kode but does include things such as
componentN
so you can use destructuring assignment and overloads the operator methods
So it is definitely Kotlin-friendly, even if there is no strictly Kotlin implementation
..oh, sorry, I was too fast with
componentN
methods - that's just one of the options for now (because the author is still deciding whether to do a full Kotlin extension module or just keep including minor Kotlin candies: https://github.com/jOOQ/jOOQ/issues/6245 )
Nevertheless, judging by his blog entries, the jOOQ author definitely likes working with Kotlin so I wouldn't worry about support 🙂 https://blog.jooq.org/tag/kotlin/