I want to use a JDBC connection pool. The most important factor is that it’s easy-to-use and bug-free. What is suitable for me?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Another fine alternative is the Apache Database Connection Pool.
Instead of getting a connection using DriverManager, you’ll use a JNDI naming service to get your connection out of the pool.
Be sure to close your resources – Connection, Statement, and ResultSet. If you don’t, your pool will be quickly exhausted.