Fixed an incorrect error message when a hibernate ConstraintViolationException is thrown.