Skip to content

Consider embedded properties in the QBE queries #2100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

mipo256
Copy link
Contributor

@mipo256 mipo256 commented Jul 26, 2025

Closes #2099
Closes #1986

This PR enhances the RelationalExampleMapper by making it consider embedded properties and specifiers for them.

As it turned out during resolution of #1986, the embedded properties were kind of ignored in QBE.

Current algorithm works more a less the same way, it just traverses the Example recursively from direct properties defined in the root probe, all the way down to the deeply embedded leafs.

Tests are included in the PR.

CC: @mp911de @schauder

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Embedded objects are mostly ignored in QBE queries JDBC: QBE withIgnoreNullValues does not ignore nulls in embedded classes of the Example
2 participants