# Uses of Class
org.springframework.dao.DataIntegrityViolationException

Packages that use DataIntegrityViolationException
Package
Description
org.springframework.dao
Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.

## Uses of DataIntegrityViolationException in org.springframework.dao

Subclasses of DataIntegrityViolationException in org.springframework.dao
Modifier and Type
Class
Description
`class`
`DuplicateKeyException`
Exception thrown when an attempt to insert or update data results in violation of a primary key or unique constraint.