I can't think of anything using the Connection object itself, but what you might want to look at is the underlying database. I often use the Oracle adminstrator tool to monitor database connections. I don't know off-hand how to access this data using
JDBC (it will probably be a simple SQL query to list open connections to the database). I don't think you'll be able to get any info from the Connection object itself.
You should be keeping tight control over your Connection objects, so you might want to look at your design, and ask yourself why you're addressing this problem. Perhaps a better design will solve the issue.
[ May 10, 2004: Message edited by: Jeffrey Hunter ]