I can either annotate it with @Column(nullable=false) or with @NotNull. ... in solving Java persistence problems with JPA, Hibernate and Spring Data JPA.
確定! 回上一頁