0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Spring bootの@NotNull, @NotBlank, @NotEmptyの違い

Last updated at Posted at 2024-11-26

備忘メモ

・追記メモ
実装で確認した所、boolean型, あとInteger等の数値型に@NotBlankを付けると500エラーになる。空文字や空白の概念が無いからでしょうね。なるほど。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?