spring-data-jpa
spring-data-jpa copied to clipboard
Fix typo in README.adoc
Hi team,
This PR addresses an issue in the README file related to the usage example of the findByFirstnameLike method in Spring Data JPA.
Before
List<Person> firstNameResults = repository.findByFirstnameLike("Oli*");
After
List<Person> firstNameResults = repository.findByFirstnameLike("Oli%");
Using an asterisk (*) in the LIKE clause does not work for pattern matching in SQL. The proper wildcard character for the LIKE clause in SQL is the percentage symbol (%).
Thank you.
good catch - thank you!
Thanks. That's merged.