Closed underbell closed 2 weeks ago
Seems the MySQL driver is returning a byte buffer instead of a single byte for BIT
fields.
Spring Data ships with a Converter<Byte, Boolean>
.
I suggest reaching out to the MySQL driver project and asking whether they could return a scalar value instead of a buffer for bit fields, such as Byte
.
Appears after update to boot 3.3.0 and does not occur in spring-data-bom:2023.1.5 I registered as an issue on spring-data-r2dbc and I'm registering as an issue again here https://github.com/spring-projects/spring-data-r2dbc/issues/860
It is minimal application that reproduces this issue. https://github.com/underbell/r2dbc-converter-test-boot3.3.0 Run UserControllerTest and check it please.