jdbc多sql语句执行(allowMultiQueries=true)

 jdbc多sql语句执行用分号隔开一次运行需要在URL后面拼接 &allowMultiQueries=true ;否则报错!

jdbc.user=root
jdbc.password=root
jdbc.url=jdbc:mysql://localhost:3306/common_mapper?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true
jdbc.driver=com.mysql.jdbc.Driver

猜你喜欢

转载自blog.csdn.net/qq_15204179/article/details/84889617