R2dbcExecutor returns Futures that wrap Scala Long or Seq[Long]. To return these we take java.lang.Long and convert to scala.Long (which is an alias for the primitive long).
The JavaDSL in pekko-projection-r2dbc converts the Scala Long to java.lang.Long.
We could support R2dbcExecutor methods that return Futures that wrap java.lang.Long or Seq[java.lang.Long].
We may even be able to make these APIs use Java Futures instead Scala Futures.
R2dbcExecutor returns Futures that wrap Scala Long or Seq[Long]. To return these we take java.lang.Long and convert to scala.Long (which is an alias for the primitive
long
).The JavaDSL in pekko-projection-r2dbc converts the Scala Long to java.lang.Long.
We could support R2dbcExecutor methods that return Futures that wrap java.lang.Long or Seq[java.lang.Long].
We may even be able to make these APIs use Java Futures instead Scala Futures.