If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > connection pool related

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-05, 23:12
s2iWi2s s2iWi2s is offline
Registered User
 
Join Date: Jan 2005
Posts: 3
Question connection pool related

Good day to all,

i am new to db2 Connection pooling.
i had connected to DB2ConnectionPoolDataSource and got PooledConnection from the data source. my problem is how do i return the connection to the pool? do i have to use con.close()? if not how?

I did con.close() but the problem is when i get the connection to the pool and created a statement it tells me an error that the connection is closed already.

how do i resolve this?

tnx in adv!!

Last edited by s2iWi2s; 01-27-05 at 02:03. Reason: rephrase my sentence
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On