1 Reply Latest reply on Nov 24, 2014 4:46 AM by maxandersen

    Bean validation support

    furic

      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