How connection pooling works in JDBC?

Questions by kripal

Showing Answers 1 - 1 of 1 Answers

This connection pool maintains a hashtable which contains connection objects as keys and boolean value as stored values(i.e. Boolean value indicates whether a connection is in use or not)
for your information we can use getConnection() to get the connection object and returnConnection() to give it back to pool.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions