spring - JSR 303 - Name of the annotated field in the custom validator -
i have question custom annotations. more precisely, have access name of annotated field inside custom validator ? if yes, how access this?
thanks
no, can't access name of validated element within constraint validator. exposed resulting constraint violation, though (via getpropertypath()).
Comments
Post a Comment