Bug记录,*Mapper.xml中SQL查询语句的数据库字段格式

org.springframework.dao.DataIntegrityViolationException: Error attempting to get column 'id' from result set. Cause: java.sql.SQLDataException: Cannot determine value type from string 'id'
; Cannot determine value type from string 'id'; nested exception is java.sql.SQLDataException: Cannot determine value type from string 'id'


字段的符号是 `` 这个, 而不是 '' 这个, 符号差啦!

posted @ 2020-04-03 23:59  卯毛  阅读(372)  评论(0编辑  收藏  举报