spring-data-jpa icon indicating copy to clipboard operation
spring-data-jpa copied to clipboard

Revisit JPA Query Transformer design

Open mp911de opened this issue 2 years ago • 0 comments

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.

mp911de avatar Mar 14 '23 09:03 mp911de