jdbc:mysql://127.0.0.1:3306/test?useUnicode=true&characterEncoding=utf8mysql
添加了useUnicode=true&characterEncoding=utf8參數以後,插入中文就正常了。sql