Skip to content

IsTrue/IsFalse binds null instead of the actual value #733

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

Closed
underbell opened this issue Feb 28, 2022 · 1 comment
Closed

IsTrue/IsFalse binds null instead of the actual value #733

underbell opened this issue Feb 28, 2022 · 1 comment
Labels
type: regression A regression from a previous release

Comments

@underbell
Copy link

underbell commented Feb 28, 2022

boolen query method working in 1.4.1, but does not in 1.4.2

After upgrading to spring boot 2.6.4, the query method for boolean does not work as desired.
I'm curious if it's a bug or something I missed.
I'll link the my repo.

https://github.com/underbell/demo_boot_2.6.4

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Feb 28, 2022
@underbell
Copy link
Author

Similar issue link :
#698

@mp911de mp911de added type: bug A general bug type: regression A regression from a previous release and removed status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels Feb 28, 2022
@mp911de mp911de changed the title Mysql: Using IsTrue or True in Query Method doesn't work on BIT columns IsTrue/IsFalse binds null instead of the actual value Feb 28, 2022
mp911de added a commit that referenced this issue Feb 28, 2022
We now translate isTrue/isFalse criteria values if their actual value is not provided.

The more correct approach would be setting a value in Criteria.

Closes #733
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: regression A regression from a previous release
Projects
None yet
Development

No branches or pull requests

3 participants