allowMultiQueries=true允许插入多条语句

在context.xml中,url写成url="jdbc:mysql://localhost:3306/fivecrowdsourcing?allowMultiQueries=true",可以使得sql语句中有多个insert或者update语句。

posted @ 2019-04-02 11:42  借我两块买雪糕  阅读(548)  评论(0编辑  收藏  举报