1

Are there Third Pary libraries that offer Mysql connection pools in Java?

If yes: What are their advantages and disadvantages?

If no: Are there any guidelines and tutorials for implementing your own Mysql connection pool?

1
  • 2
    Off-topic. But of course. Here. Have fun. Commented May 21, 2017 at 6:21

1 Answer 1

1

I have do some work with java and use connection pool.I use a thrid party jar C3P0 which is easily to use.C3P0 has already implements the datasouces interface in java.And you say you are using mysql,you also need a mysql-connecter jar which implements all the interface in java package sql. You can find c3p0 here.http://www.mchange.com/projects/c3p0/ and find mysql-connecter at https://www.mysql.com/products/connector/.After you get the two jar,you just need copy them under the lib folder.Then use the class and method the provide.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.