Hello, I am building a rest server with Jersey 2.6...
# server
x
Hello, I am building a rest server with Jersey 2.6. And for DB access, I am trying to switch from Hibernate JPA to JDBI since I kinda feel Hibernate does not work well with Kotlin. I and totally new to jdbi and I got a few questions like: whether it is a good practice to inject DAO with onDemand, how to use enum type, etc. Do you guys have any tutorials or sample projects to start with?
s
This is probably going to get flagged with stackoverflow or google since it’s not specifically related to K on the server. You’re going to want to read through the JDBI docs and see if anyone else has asked a similar question on SO.
x
I did google about this, and read through the JDBI doc. What I found is more like basic introductions instead of detailed project setups. I will try stackoverflow or googlemore. Thank you for your suggestion.
👍 1
s
you can also try #random - development questions not related to Kotlin are allowed there
x
Ok thanks!