Rewrite string-queries to use constructor expressions when return type is DTO #3076
Labels
in: query-parser
Everything related to parsing JPQL or SQL
theme: projections
Refinements around DTO and interface projections
type: enhancement
A general enhancement
Milestone
Consider the following query:
The query selects items from the Person entity while its return type is a DTO projection.
It would be good to rewrite such queries to use DTO projections for matching properties along the lines of:
The text was updated successfully, but these errors were encountered: