http://blog.csdn.net/jingshuaizh/article/details/43852513
update map中需要執行多個 update語句。
最后加上參數 "allowMultiQueries" 設置為true 如下:
<property name="jdbcUrl" value="jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true" />