Hacker News new | ask | show | jobs
by patates 3147 days ago
This is a bit off-topic, but, as we are already discussing Kotlin, for a person new to the whole Java world, does anyone have a suggestion for a good ORM which plays nicely with Kotlin? (Elephant in the room being Hibernate but I'm intimidated by the complexity. Looking for something way more lightweight).
3 comments

Have you tried jOOQ?

https://blog.jooq.org/2017/05/18/10-nice-examples-of-writing...

It might be a bit too lightweight for your tastes, but I'm very satisfied with it. Never used it with Kotlin tho, but according to the above link it seems to be supported just fine.

JDBI3 [1] has Kotlin plug-ins [2], and makes it easy to create simple DAOs without having to inform the framework about the entire database structure.

1: https://jdbi.github.io/ 2: https://jdbi.github.io/#_sqlobject

The library created by JetBrains:

https://github.com/JetBrains/Exposed