运用postman运行时的参数设置问题org.springframework.dao.DataIntegrityViolationException"
springboot通过spring jpa boot访问oracle数据库时,当出现org.springframework.dao.DataIntegrityViolationException"异常时,说明是postman中的参数设置不正确。
比如插入一段数据:
代码如下:
postman的参数设置参数如下: