Here is what I use in SQL Plus:
Expand|Select|Wrap|Line Numbers
- select username, program from v$session where username = 'myUserSchemaName';
When I do close my connections correctly and do alot of inserts and updates in my Web Application, the above query doesnt show any programs running so I assume I dont have any database leaks?
This is my way and would like to know how experienced Java developers check to make sure all their Database connections are closed?