com.hanmeng.o2o.exceptions.WechatAuthOperationException: insertWechatAuth error: insertPersonInfo error:
### Error updating database. Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x94\x85' for column 'name' at row 1
### The error may involve com.hanmeng.o2o.dao.PersonInfoDao.insertPersonInfo-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO tb_person_info(name,gender,email,profile_img,user_type, create_time,last_edit_time,enable_status) VALUES (?,?,?,?, ?,?,?,?)
### Cause: java.sql.SQLException: Incorrect string value: '\xF0\x9F\x94\x85' for column 'name' at row 1
; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1366]; Incorrect string value: '\xF0\x9F\x94\x85' for column 'name' at row 1; nested exception is java.sql.SQLException: Incorrect string value: '\xF0\x9F\x94\x85' for column 'name' at row 1
com.hanmeng.o2o.service.impl.WechatAuthServiceImpl.register(WechatAuthServiceImpl.java:69)
sun.reflect.GeneratedMethodAccessor716.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
SSM商铺V1.0,解决毕设痛点;SpringBoot商铺V2.0,满足工作刚需
了解课程