This content has been marked as final. Show 2 replies
By default an OracleConnection is actually a connection pool with 50 connections in it. It is global in scope automatically. Just because the Connection object goes out of scope does not mean it is disconnected. It just goes back into the pool.
You could try disabling pooling if you want (see connection string parameters for more info) but the pool is a very powerful feature that you may want to use.