https://kotlinlang.org logo
#ktor
Title
# ktor
n

nyxcode

08/10/2019, 7:00 PM
Suprisingly, I couldn't find a trustworthy coroutines MariaDB/JDBC driver - why is that?
n

napperley

08/11/2019, 12:53 AM
Most of the Java based DB libraries/frameworks don't support async programming.
Kotlin Coroutines have been stable for over a year, which wouldn't be enough time for some of the DB libraries/frameworks to add Kotlin Coroutines support.
y

yschimke

08/11/2019, 6:58 AM
You may just want something non JDBC. If it’s Rx, or Async callback or futures based you should be able to write the bridge code to Coroutines yourself. Maybe https://r2dbc.io and MySQL driver?
46 Views