Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Using database link with websphere connection pool

  Asked By: Darcy    Date: Oct 16    Category: Java    Views: 1742

I'm using websphere 3.5 and oracle 8.3
I have some JDBC queries that use database link using
websphere connection pool
I closed all JDBC resources in finally
I found some opened connection which I opened it using
database link
Is the websphere doesn't close database links
connection or what is happen ?
Is using database link is recommended ?



1 Answer Found

Answer #1    Answered By: Agatha Miller     Answered On: Oct 16

Closing JDBC resources  when using connection  pool means that you just give it back to the pool. Actually connection pool  manages all the JDBC resources in case of opening and closing them. So when you open/close a resource you just push/pop it from the pool’s stack. Yes I told you the stack actually stack is one of that mechanisms of implementing a connection pool.

Didn't find what you were looking for? Find more on Using database link with websphere connection pool Or get search suggestion and latest updates.