类的使用
org.springframework.dao.DataIntegrityViolationException
使用DataIntegrityViolationException的程序包 程序包 说明 org.springframework.dao Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.org.springframework.dao中DataIntegrityViolationException的使用
org.springframework.dao中DataIntegrityViolationException的子类 修饰符和类型 类 说明 class
DuplicateKeyException
Exception thrown when an attempt to insert or update data results in violation of an primary key or unique constraint.