spring-data-jpa
spring-data-jpa copied to clipboard
Revisit JPA Query Transformer design
The transformer design creates excessive array lists on each operation. While this seems appropriate for query rewrite (applying Sort, deriving a COUNT query), detecting projections, aliases, and constructor expressions follows the same scheme.
We should reuse the results from parsing/visting passes and reduce the amount of model visits.