4 ms·
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
by patates 9y 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).
- mulrian 9y agoThe library created by JetBrains: https://github.com/JetBrains/Exposed https://github.com/JetBrains/Exposed
- nekitamo 9y agoHave you tried jOOQ? https://blog.jooq.org/2017/05/18/10-nice-examples-of-writing-sql-in-kotlin-with-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.
- gnud 9y agoJDBI3 [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/ https://jdbi.github.io/ 2: https://jdbi.github.io/#_sqlobject https://jdbi.github.io/#_sqlobject