а DataAccessException кто создал?
хорошо, понял. Так а как правильно обработать исключение с хибернейт? Он мне бросает это :
could not execute statement; SQL [n/a]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement