Is there a legit reason for this, or do I not understand this right?
Why are the column properties basically listed twice?
@Column(name = "codeName", nullable = false, length = 50) @NotNull @Length(max = 50) public String getCodeName() { return this.codeName; }
Thanks!
@NotNull and @Length are Hibernate validator tags, and @Column is a standard JPA tag.
According to my knowledge, currently only Hibernate validator can be used for input validation but I've read somewhere this is going to change in the next Seam version.