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

Make spring-data-rest not treat persistent fields with default values as updated properties #21

Closed
aliubunia opened this issue Dec 6, 2012 · 1 comment
Assignees
Labels
Milestone

Comments

@aliubunia
Copy link
Member

Example:

@Entity
public class Customer { 
    ...
    @Basic
    private String name = "John Doe";
    ...
}

If name is not sent for update in JSON representation of the object, it will always be updated to "John Doe".

@ghost ghost assigned aliubunia Dec 6, 2012
@max-dev
Copy link
Member

max-dev commented Feb 17, 2013

linked to #40

max-dev added a commit that referenced this issue Sep 16, 2014
@max-dev max-dev self-assigned this Sep 16, 2014
@max-dev max-dev closed this as completed Sep 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants