Report question

Question: How to get the constraint name in a org.springframework.dao.DataIntegrityViolationException?