Using dbcp 2.2.0 with pool 2.5.0.

If the only object I have access to is BasicDataSource, is it possible to obtain the SQL queries being executed by active connections in the pool right now?  If so, how would I go about doing that?

At the moment I'm not using PreparedStatement, but I have plans to do so in the future.  When that happens, I will be interested in finding the actual query being executed, not the query with the question mark placeholders.

Thanks,
Shawn


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to