Getting actual SQL query
Accepted answer
That is the way it is. You cannot get more "actual" than that. Further reading is shown below.
https://en.wikipedia.org/wiki/Prepared_statement
http://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html