Skip to content
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

Invalid JoinType in QueryByExamplePredicateBuilder when using MatchMode ANY #3763

Open
ArnaudLec opened this issue Feb 5, 2025 · 1 comment
Assignees
Labels
type: bug A general bug

Comments

@ArnaudLec
Copy link

Hi,

I stumbled upon a bug when using Example to find objects when matching with both a primitive attribute and an association at the same time when using MatchMode.ANY.

The join should be a left join when using MatchMode.ANY and only an inner join when using MatchMode.ALL.

Here is a reproducer :
https://github.com/ArnaudLec/query-by-example-join-match-any-bug

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 5, 2025
@mp911de mp911de added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 10, 2025
@christophstrobl
Copy link
Member

Thank you for reporting the issue und providing the sample. we'll look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

4 participants