DataIntegrityViolationException
报错 org.springframework.dao.DataIntegrityViolationException: Error attempting to get column
原因是持久化层的字段属性 跟 数据库的没有对应上, 类型不对 dao.DataIntegrityViolationException: Error attempting to get column 'STATUS' from result set. <if test="record.status ! ......