title: Is any reason to put @NotNull annotation on @Id field in Java entity class
body: <p>I found code in entity class:</p>
  
  <pre><code>@Id
  @NotNull
  @Column(name = "ID")
  private Long id;
  </code></pre>
  
  <p>Is <strong>@NotNull</strong> annotation have value when <strong>@Id</strong> already set?</p>