Is there way the
java can find the bottleneck SQL statements and print some where in log?
Take example, if I have some SQL taking huge CPU slice performance hit on Oracle database. One of the way to find the problem SQL statement is using Oracle AWR and ADDMR reports. Apart from that are there any direct methods available in Java in
JDBC or Hibernate debugging?