i was confused because i use r2dbc with coroutines, with code like this:
Copy code
val selectResult: Result =
connection.createStatement("select * from users").execute().awaitSingle()
val namesFlow =
selectResult.map { row, _ -> row.get("NAME", String::class.java) as String }.asFlow()
and it always worked but with IDEA EAP i needed to add the “as string” cast. (row.get is a java method annotated as nullable)