wei
wei

Reputation: 213

How to print out the final SQL statement in vertx?

I'm wondering how to print out the final SQL statement in vertx? It would be much easier to debug when we see the SQL statement.

Thanks.

Upvotes: 0

Views: 638

Answers (1)

tsegismont
tsegismont

Reputation: 9128

Vert.x itself does not provide a way to log SQL statements. But:

  • many JDBC drivers have options for logging statements
  • in case your driver hasn't, tools like p6spy let you intercept and log database activity

Upvotes: 1

Related Questions