What can be done, if street is null? I will get an exception in the HTTP POST. NotNull is checking if property is null or not...
@NotNull
@Column(name = "street")
@JsonIgnore
private String street;
In this case JsonIgnore is not working. Why? I thought, if I use JsonIgnore not null would not be checked....
Can I overload @NotNull with @JsonIgnore or some other annotation?