Hello, I've been searching for a while, but can't really find anything...
Is there any good framework/ORM/ or w/e for Kotlin, that can interact with SQL databases in a non-blocking way?
I've seen KMongo, but you can guess from name that's only for MongoDB,
everything else I found is blocking, even if it has some coroutines support
c
christophsturm
05/03/2021, 2:10 PM
I wrote an orm for kotlin that supports r2dbc and vert.x sql client. I have big plans for it but right now I’m only using it for my own projects , and documentation is a bit outdated. https://github.com/christophsturm/the.orm
christophsturm
05/03/2021, 2:11 PM
and of course there is hibernate-reactive, which is probably the most feature rich non blocking orm but not kotlin specific
r
Roukanken
05/03/2021, 3:31 PM
looks great at first glance, I'll definitely look at it
h
Husam
05/05/2021, 3:58 AM
exposed is a coroutine based jetbrains lib as well, and if you are using spring can use spring r2dbc (not kotlin specific). not full on ORMs, exposed is prob more advanced than spring r2dbc tho and has elements of an ORM
c
christophsturm
05/05/2021, 7:06 AM
exposed is not at all coroutine based. its as blocking as it gets, and has some coroutine support