关于mybatis支持写多条sql语句,支持事务

来源:互联网 发布:音序器软件 编辑:程序博客网 时间:2024/06/05 09:35

在这种情况之下需要配置mysql,来达到支持多条sql执行的情况。

连接mysql的字符串配置dataBase.url=jdbc\:mysql\://127.0.0.1\:3306/justjack?useServerPrepStmts\=true&cachePrepStmts\=true&prepStmtCacheSize\=25&prepStmtCacheSqlLimit\=256&useUnicode\=true&characterEncoding\=UTF-8&zeroDateTimeBehavior\=convertToNull&allowMultiQueries\=true

0 0
原创粉丝点击