Hello
I'm using hibernate tool for reverse engineering the table to entities (hbm2java).
It generates JPA specific field constraints (like @Column(nullable=false))
My question is: is bean-validation specific constraints generation supported out-of-the box ,so the resulting class field looks like :
@Column(name="SOME_FIELD", nullable=false, length=3) @NotNull @Size(max = 3) public String getSomeField() { return this.someField; }
Thanks
No, we don't have that.
You can add such to the templates hibernate tools use if you want to though.