`

mybatis 插入库 乱码

 
阅读更多
jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8

添加了useUnicode=true&characterEncoding=utf8参数之后,插入中文就正常了。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics