DB2\Oracle\Derby



Enable database SQL statement trace log on Dev 

Logon  to WebSphere Administrative console.
From left panel select Troubleshooting-->logs and trace->server1->change log details levels


Enable tracing for  JDBC Preparedstament API to execute SQL by enabling below trace.
*=info: com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement=all

Enable EJB tracing to print application code which makes use of EJB to execute the  SQL by enabling below trace
*=info:EJBContainer=all:PMGR=all.

No comments:

Post a Comment