Hibernate-validator Groups with Spring MVC

前端 未结 3 1088
慢半拍i
慢半拍i 2020-12-20 03:42

I\'m using hibernate-validator 4.3.1 and Spring MVC 3.2.3.

My application has a bean with the following properties and annotations (I\'ve removed most of them to mak

3条回答
  •  暖寄归人
    2020-12-20 03:56

    if you extend your Group Interface with Default, it should take care of itself.

    Like

    public interface Group1 extends Default {}
    

提交回复
热议问题