List of usage examples for io.vertx.mysqlclient MySQLConnection specifySchema
@Fluent MySQLConnection specifySchema(String schemaName, Handler<AsyncResult<Void>> handler);
From source file:examples.MySQLClientExamples.java
public void initDbExample(MySQLConnection connection) { connection.specifySchema("newschema", ar -> { if (ar.succeeded()) { System.out.println("Default schema changed to newschema"); } else {//from www . j a v a 2 s. c o m System.out.println("Failure: " + ar.cause().getMessage()); } }); }