org.springframework.dao.DataIntegrityViolationException:
Error attempting to get column 'XXX' from result set.
Cause: java.sql.SQLDataException: Cannot determine value type from string 'XXXX'.
请确认返回对象中是否存在有参构造函数。
解决方法:需要增加一个无参构造函数。
org.springframework.dao.DataIntegrityViolationException:
Error attempting to get column 'XXX' from result set.
Cause: java.sql.SQLDataException: Cannot determine value type from string 'XXXX'.
请确认返回对象中是否存在有参构造函数。
解决方法:需要增加一个无参构造函数。