How to log all database queries? I am using io.vertx:vertx-jdbc-client and io.vertx:vertx-pg-client
Hi, if you are using io.vertx:vertx-jdbc-client
, you can use https://github.com/p6spy/p6spy to log query sql
Hello
I'm following the starter guide, with Java 18 and Kotlin 1.6.21
router.get("/trades")
.respond { Future.succeededFuture(listOf(Trade(), Trade())) }
Throw this errorio.vertx.core.json.EncodeException: Mapping Trade is not available without Jackson Databind on the classpath
I added dependencies of Jackson core, databind and annotations, without any success
What should I do in this case ?
routingContext.response()
.setStatusCode(400)
.putHeader(HttpHeaders.CONTENT_TYPE, "application/json")
.putHeader("Access-Control-Allow-Origin", "*")
.end(e.getMessage());