0

I have a Oracle UCP connection Pool responsible for executing queries from the Java application. I want to see all the queries in the logs that this UCP takes care of.

I followed this guide https://docs.oracle.com/cd/E11882_01/java.112/e12265/dgn_conpool.htm#CIHIGBIJ to use the property of 'oracle.ucp.level' to set the log level to FINEST.

I couldnt see the sql queries in logs. I could see all other information like getting a connection, DB URL etc in the logs but I couldnt see the SELECT query that was executed by this connection pool.

Is there a way we could see the SELECT, INSERT and UPDATE queries executed by the Oracle UCP ?

If not the whole query , Atleast can we see whether it is a SELECT or INSERT or UPDATE ?

hari
  • 13
  • 6

0 Answers0