代码在这:
https://gist.github.com/yeziyezi/4b16b6cb4b6ed9817653993d0e2fc19c
已测试过 SQLConnection 连接正常,Sql 语句也在 mysql 中执行过,没有问题,但是 batch 和 batchWithParams 方法一直都执行不到回调函数
翻到一个 2018 年 1 月的 issue,3.5.x 版本同样的问题,回复是这两个接口还没实现,但是都已经 3.6.3 了,而且官方文档里也写了用法,现在应该已经实现了吧……
关于 vertx 的包都是 3.6.3 版本
compile 'io.vertx:vertx-core:3.6.3'
compile 'io.vertx:vertx-web:3.6.3'
compile 'io.vertx:vertx-web-templ-freemarker:3.6.3'
compile 'io.vertx:vertx-config:3.6.3'
compile 'io.vertx:vertx-mysql-postgresql-client:3.6.3'
compile 'io.vertx:vertx-sql-common:3.6.3'