728x90
@NotNull
Null | 허용 x |
"" | 허용 |
" " | 허용 |
type 관계 x
@NotEmpty
Null | 허용 x |
"" | 허용 x |
" " | 허용 |
int, long ,Interger 등 x
@NotBlank
Null | 허용 x |
"" | 허용 x |
" " | 허용 x |
String만 허용
728x90
'[Spring] > Annotation' 카테고리의 다른 글
컴포넌트 스캔(@ComponentScan)과 @Autowired (0) | 2023.03.05 |
---|---|
스프링 관련 애너테이션, 클래스, 메서드 무지성 정리 (0) | 2022.10.26 |