Hibernate Tips: What’s the difference between @Column(nullable = false) and @NotNull
Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question for a future Hibernate Tip, please post a comment below. Question: One of my entity attributes shall not be null. There seem to be 2 different ways to ensure that….