Skip to content

Embedded objects are mostly ignored in QBE queries #2099

@mipo256

Description

@mipo256

When investigating the #1986, I discovered that the embedded objects are not even considered during QBE to CriteriaDefinition conversion.

Here is the sample repo (MRE) that demonstrates the problem, the very specific test.

In the example, the ignoreCase setting is ignored. Other settings like the null handling for embedded properties described in #1986 are ignored as well.

The reason why it happens is that the algorithm in the RelationalQueryMapper only considers direct properties of an aggregate, meaning the property.getName() of direct properties is analyzed, but not deeper not recursive.

So the problem is far deeper, I'll handle it myself as well.

CC: @schauder @mp911de

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions