Skip to content

Revisit JPA Query Transformer design #2855

@mp911de

Description

@mp911de

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: query-parserEverything related to parsing JPQL or SQLstatus: supersededAn issue that has been superseded by anothertype: taskA general task

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions