-
Notifications
You must be signed in to change notification settings - Fork 74
Can't update entity field to null #111
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
Comments
hi: |
|
may be better to have choice between strategies in configuration? Because updating fields into null is the default strategy for other spring data repositories. |
|
I must agree with @RushPVA, it's surprising this update doesn't set to null in database. Would be nice to have both choice. |
and one more: |
in 1.0.14: update method will not ignore null property, and added two new methods: <S extends T> S updateIgnoreNull(S entity);
<S extends T> S saveIgnoreNull(S entity); These two methods will ignore null property when update. |
Welldone!!! |
Code sample:
Password was updated, but name was not.
The text was updated successfully, but these errors were encountered: