Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'. · Issue #I5DHCW · baomidou/mybatis |
您所在的位置:网站首页 › images/2022-04 › Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'. · Issue #I5DHCW · baomidou/mybatis |
当前使用版本(必填,否则不予处理)
3.5.2 该问题是如何引起的?(确定最新版也有问题再提!!!)autoMapResult已开启,typehandler也已指定
Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'.; nested exception is com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Cannot create a JSON value from a string with CHARACTER SET 'binary'. at org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:104) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:70) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79) at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:79) at org.mybatis.spring.MyBatisExceptionTranslator.translateExceptionIfPossible(MyBatisExceptionTranslator.java:88) at org.mybatis.spring.SqlSessionTemplate$SqlSessionInterceptor.invoke(SqlSessionTemplate.java:440) |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |