In HSQLDB it is thrown the exception DataIntegrityViolationException instead of ConstraintViolationException