MySQL's dbconfig.xml testOnBorrow does not default to false; need to set explicity

XMLWordPrintable

    • 5.02
    • 4
    • Severity 3 - Minor
    • 1

      While doing some DB tests, I noticed in the mysql logs that "select 1" validation queries were still being fired on each query, contrary to the documentation on Tuning Database Connections.

      I didn't go away until I explicitly declared it false like so:

      <pool-test-on-borrow>false</pool-test-on-borrow>
      <pool-test-on-return>false</pool-test-on-return>
      

      Other References:

              Assignee:
              Unassigned
              Reporter:
              David Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: