Hi,
after updating from Spring Boot 2.6.4 to 2.6.6 I observe the following issue:
I have a DataSupplierRepository with the method findByNameContainingIgnoreCaseOrderByNameAsc(String). The first call is working but all subsequent calls fail with the following error:
org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [%bbb%] did not match expected type [java.lang.Character (n/a)]; nested exception is java.lang.IllegalArgumentException: Parameter value [%bbb%] did not match expected type [java.lang.Character (n/a)]
I tested it on PostgreSQL and H2 with the same error in both cases. When I remove the "Containing" from the method's name, the problem disappears. I have set up an simple test project where you can execute the unit test DataSupplierRepositoryTest in order to reproduce the error: https://github.com/Iceforgedmvp/containing-bug
Comment From: scottfrederick
Duplicate of #30421