Added specific message key for testing @NotNull handling.

This commit is contained in:
Jon Brisbin
2012-10-10 08:56:29 -05:00
committed by Jon Brisbin
parent d97c14ebb2
commit aff62b7cd7

View File

@@ -12,7 +12,7 @@ import javax.validation.constraints.NotNull;
public class Customer {
@Id @GeneratedValue private Long id;
@NotNull
@NotNull(message = "no.userid")
private String userid;
public Long getId() {