But its not working for me ..
I have written like this :
/
PreparedStatement pStatement = null;
....
pStatement = connection.prepareStatement(" update tblMember set address =
?");
pStatement.setObject(i++, "Jl. Setya Budi");
System.out.println("query : " + pStatement.toString());
/
And the result :
/query : org(dot)apache(dot)tomcat(dot)dbcp(dot)dbcp(dot)DelegatingPreparedStatement(at)1c1de1c/
I need log query from pStatement, Does anyone can help me ?
regard,
mimi
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Display-SQL-from-Java-Prepared-Statement-tp2175579p4721914.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.