What's the difference between ConstraintValidator (jpa) and Validator (Spring)?

Viewed 399

According to what I know, I can perform the same type of validation with both org.springframework.validation.Validator and javax.validation.ConstraintValidator.

Why should I prefer one validator over another?

Thank you?

0 Answers
Related