I have read this line in spring docs "The query builder mechanism built into the Spring Data repository infrastructure", can anyone please tell which class exactly does this query building part in spring?
I have read this line in spring docs "The query builder mechanism built into the Spring Data repository infrastructure", can anyone please tell which class exactly does this query building part in spring?
You should look at org.springframework.data.jpa.repository.query.JpaQueryCreator and also at org.springframework.data.jpa.repository.query.PartTreeQuery.
The former does the actual construction of the query.
The latter holds all the pieces together: The parsed PartTree containing the structure of the method name, arguments, the processing of results and so on.