How to bind array fields in r2dbc mysql?

653 Views Asked by At

Im trying to bind array fields in spanner using java reactive programming and using r2dbc spi binds https://r2dbc.io/spec/0.8.0.RELEASE/api/io/r2dbc/spi/Statement.html

I'm encountering this exception com.google.cloud.spanner.r2dbc.BindingFailureException: Can't find a binder for type: class [Ljava.lang.String

We can use binds for array fields in spanner as mentioned here How to bind to IN parameters in Cloud Spanner Java API

But this bind works only spanner statements but not for r2dbc

1

There are 1 best solutions below

0
On

[email protected] added support for binding arrays and lists to Spanner native arrays.