This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I've written a custom connection pooling package and I would like to display what each connection in the pool is currently running(Information on the session associated with this connection). I would like to display what SQL(s) this connection is running, how long has it been running and of course handles to those statements so that I can call statement.cancel() to stop them if needed. Some sort of java version of oracletool package which was written in perl. I will appreciate if anybody can offer some suggestions and/or examples. Thanks