vertx-sql-client
vertx-sql-client copied to clipboard
print SQL statement and result,or support P6SPY
I'm wondering how to print out the final SQL statement and result in vertx? It would be great help to debug. or support p6spy? I tried for oracle but it doesn't work
Supporting p6spy is not possible because we don't use JDBC drivers. Well, except the Oracle reactive client but we need the Oracle specific APIs so generic JDBC is not possible.
We'll think about it. Logging database interactions is useful for developers and we may be able to find a solution that works across all the reactive drivers we have.
I think the tracing SPI can achieve the same result
I think also we could simply log report those in the logger like we do for TCP networking activity debugging
Is there any updates on the issue? I'd like to be able to debug SQL queries.
can you try using the tracing SPI @newzubakhin to achieve this ?