javax.validation.ConstraintViolationException: validation failed for classes during update time for groups
- by Tim
Hello all!
I have a Java / Spring MVC 3 application, using Hibernate and a MySQL database.
In my controller, I have this source code:
Set<ConstraintViolation<Person>> failures = validator.validate(p);
if (failures.isEmpty()) {
Project project = this.projectService.findProjectById(projectid);
Person newPerson =…