I readed this. But it didnt gave ma a clear answer of usage.
When I create table and columns.
Case1:
@Column(nullable = false, length = 14)
@NotNull
private String something;
Case2:
@Column(length = 14)
@NotNull
private String something;
Isn't it the same? I mean @NotNull will throw exception earlier so is there a reason to do nullable = false column?