spring-data-mybatis icon indicating copy to clipboard operation
spring-data-mybatis copied to clipboard

@Convert 注解似乎还不支持

Open shaodong-hub opened this issue 4 years ago • 0 comments
trafficstars

`### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'books' at row 1

The error may exist in com/github/mybatis/interceptor/pojo/UserInfoDO6d8248f8-04b3-45a8-9f16-4c8c742c2211.precompile

The error may involve defaultParameterMap

The error occurred while setting parameters

SQL: UPDATE user_info SET username = ?, age = ?, books = ? WHERE id = ?

Cause: java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'books' at row 1

; uncategorized SQLException; SQL state [HY000]; error code [1366]; Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'books' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr...' for column 'books' at row 1] with root cause `

shaodong-hub avatar Oct 20 '21 08:10 shaodong-hub