Hi !!!
I have an application with a class which creates a pool connections using OracleConnectionManager and OracleDataSource. I wonder if I have to close the connections or OracleConnectionManeger does it for me.
Thanks a lot.
Printable View
Hi !!!
I have an application with a class which creates a pool connections using OracleConnectionManager and OracleDataSource. I wonder if I have to close the connections or OracleConnectionManeger does it for me.
Thanks a lot.
This has nothing to do with threads and synchronisation...
You should have posted this either in Advanced Java or (better) the Database section, since that's what this is about.
You do need to close any connections you get from the connection manager, which is what returns them to the pool.
If you dont you will eventually run out.