How can I get the SQL of a PreparedStatement?
Using prepared statements, there is no “SQL query” : You have a statement, containing placeholders it is sent to the DB server and prepared there which means the SQL statement is “analysed”, parsed, some data-structure representing it is prepared in memory And, then, you have bound variables which are sent to the server and the … Read more