特牛生活网

完美解决 java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x8D\x8E \xF0...‘ for column ‘nick_name_cause: java.sql.sqlexception: incorrect string val-CSDN博客

网友收藏
  • 链接地址:https://blog.csdn.net/qq_40304878/article/details/121349123
  • 链接标题:完美解决 java.sql.SQLException: Incorrect string value: ‘\xF0\x9F\x8D\x8E \xF0...‘ for column ‘nick_name_cause: java.sql.sqlexception: incorrect string val-CSDN博客
  • 所属网站:blog.csdn.net
  • 被收藏次数:904
文章浏览阅读2.6k次。场景Java + mybatis + mysql ,前端调用接口传 表情符:《???? ????》,后端进行insert/update 抛出以下异常异常信息如下:Creating a new SqlSessionSqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@7187ae57] was not registered for synchronization because synchronization is not _cause: java.sql.sqlexception: incorrect string value: '\xf0\x9f\x8c\xb8&q...