List of usage examples for io.vertx.mysqlclient MySQLConnection setOption
@Fluent MySQLConnection setOption(MySQLSetOption option, Handler<AsyncResult<Void>> handler);
From source file:examples.MySQLClientExamples.java
public void setOptionExample01(MySQLConnection connection) { connection.setOption(MySQLSetOption.MYSQL_OPTION_MULTI_STATEMENTS_OFF, ar -> { if (ar.succeeded()) { System.out.println("CLIENT_MULTI_STATEMENTS is off now"); } else {//ww w . j a v a 2 s. co m System.out.println("Failure: " + ar.cause().getMessage()); } }); }