Closed kdebski85 closed 7 months ago
This should be fixed via #1723. Care to retest against the latest snapshots?
I checked that the issue is resolved in spring-data-r2dbc 3.2.3-SNAPSHOT
. Thank you!
Should I close this ticket?
Thanks for your feedback. I'm closing this one as duplicate.
After upgrade to
org.springframework.data:spring-data-r2dbc:3.2.2
, reading converter is executed for generatedcountBy
methods. In 3.2.1 and before, the converter was not executed as expected Maybe the fix for https://github.com/spring-projects/spring-data-relational/issues/1710 is related.Sample repository with
countBy
method:Sample reading converter for the entity:
As a result, the converter fails because it expects to retrieve
name
column, but onlycount
column is returned:The converter should not be called at all for
countBy
method.