We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I'm trying to ignore a field from being persisted in the couchbase DB using spring data @transient annotation on the field. However, it doesn't work.
` package com.example;
import java.util.List;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull;
import org.springframework.data.annotation.Transient;
import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Data; import lombok.NoArgsConstructor; import lombok.With;
@DaTa @NoArgsConstructor @AllArgsConstructor @builder(toBuilder = true) public class Person {
@NotNull(message = "Name cannot be null") private String firstName; @NotBlank(message = "Last name cannot be blank") private String lastName; @Transient private List<Work> works;
} `
The text was updated successfully, but these errors were encountered:
I put a fix for this in #963.
Sorry, something went wrong.
Handle Transient Annotation.
eed4e97
Closes #1147.
Handle Transient Annotation. (#1173)
e8f04ec
Closes #1147. Co-authored-by: mikereiche <[email protected]>
No branches or pull requests
I'm trying to ignore a field from being persisted in the couchbase DB using spring data @transient annotation on the field. However, it doesn't work.
`
package com.example;
import java.util.List;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import org.springframework.data.annotation.Transient;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.With;
@DaTa
@NoArgsConstructor
@AllArgsConstructor
@builder(toBuilder = true)
public class Person {
}
`
The text was updated successfully, but these errors were encountered: