I'm making a developer tool as a Webservice. One of the requirements is that the developer tool should be able to return the prepared statement used by Mybatis as a string. However, I'm not quite sure how to get the prepared sql statement that is used by Mybatis as an object.
Any tips would be great.
After further investigation. I stumbled upon this post:
How can I get the SQL of a PreparedStatement?.
However, I am still wondering if there is any way that I can actually contact the server and see the analyzed prepared SQL statement? i.e. check the logs of my database or some connection template?