How do I to retrieve the string query prepared by a PreparedStatement??
i.e.:
-------------
PreparedStatement stmt = con.prepareStatement("select * from abc where x=?");
stmt.setString(1, x);
System.out.println("My Prepared Query:" + stmt.toString());
------------
but it don't work.
---------------------------------
Yahoo! Acesso Grátis
Internet rápida e grátis. Instale o discador agora!