Java MySQL connetion pool is not working

后端 未结 4 1037
猫巷女王i
猫巷女王i 2021-01-26 03:46

I\'ve written a function in Java that runs a MySQL query and returns results. I\'ve implemented connection pooling using this method here: http://www.kodejava.org/how-do-i-creat

4条回答
  •  忘了有多久
    2021-01-26 04:12

    You will not see a difference with a single request to the DB. You have to test this this with multiple (concurrent) requests.

    And BTW: You you obeye the Java naming convention and start all objects with lower case.

提交回复
热议问题