[bv-dev] XML-based configuration of method constraints and group conversions

Emmanuel Bernard emmanuel at hibernate.org
Fri Jan 18 10:19:10 EST 2013


> As of 1.0, "A given field or getter must not be described more than once on
> a given class description." I think defining a "getter" and a "method"
> element falls into the same category, so I think we should throw a
> ValidationException in that case, too.

Do you think it makes sense to force people to always use getter for
getters? My only concern is that it might feel awkward for what I call
action getters that people don't consider getters.

Emmanuel


More information about the beanvalidation-dev mailing list