JAVA操作数据库插入中文表中显示乱码的解决方法

String dbUrl = "jdbc:mysql://localhost:3306/BookDB?useUnicode=true&characterEncoding=GB2312 ";  

用useUnicode=true&characterEncoding=GB2312 这些参数

原文地址:https://www.cnblogs.com/toSeeMyDream/p/5539679.html