如何使用两个连接属性

时间:2018-02-27 09:38:08

标签: java jdbc connection-string

如何在连接中设置两个属性。

Connection conCreate = DriverManager.getConnection("jdbc:mysql://localhost:3306/rpt"+Globals.comp+"?useUnicode=yes&characterEncoding=UTF-8","root","");

我想在useUnicode = yes& characterEncoding = UTF-8

旁边设置rewriteBatchedStatements = true

0 个答案:

没有答案