In spring data JPA there are many Supported keywords inside method names for eg JPQL snippet Distinct findDistinctByLastnameAndFirstname translates to
select distinct … where x.lastname = ?1 and x.firstname = ?2 In JPA how exactly or where is Spring JPA translating the method names to corresponding sql queries ?
I checked the JPA repository interface and also read Spring JPA doc unable to find how the method name got translated to SQl queries