This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
is there any way we can get the SQL query generated with replacing '?' with its corresponding 'value'.
PreparedStatement stmt = conn.prepareStatement("select id, name from users where id = ?");
i would like to get an output in console like " select id, name from users where id = 1 "
I have heard like iPreparedStatement or something for this purpose only. I am not sure about that.