Results 1 to 2 of 2
  1. #1
    juamd is offline Member
    Join Date
    Apr 2010
    Posts
    25
    Rep Power
    0

    Default Help with pool connections

    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.

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,450
    Rep Power
    19

    Default

    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.

Similar Threads

  1. DB Active connections
    By userj2ee in forum Advanced Java
    Replies: 0
    Last Post: 01-13-2011, 05:00 AM
  2. Are LAN only connections possible?
    By paul pasciak in forum Networking
    Replies: 1
    Last Post: 10-01-2010, 02:55 AM
  3. Java Database Connections
    By javahelp00 in forum New To Java
    Replies: 6
    Last Post: 02-28-2009, 07:41 PM
  4. Rejecting connections from a specific IP
    By javaplus in forum Networking
    Replies: 2
    Last Post: 12-21-2007, 02:28 PM
  5. Connections to data bases
    By Albert in forum JDBC
    Replies: 1
    Last Post: 06-09-2007, 03:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •