Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-881

Enable connection pooling for testcases.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.4, 1.1.0, 1.2.1, 1.3.0, 2.0.0-M2
    • 1.0.4, 1.2.1, 1.3.0, 2.0.0-M2
    • None
    • None

    Description

      Test configurations currently use dbcp with MaxIdle=0, effectively no connection pool. For Derby this doesn't have much of an effect but with other databases, like DB2, setting MaxIdle=2 can dramatically improve the time taken to run the tests.

      Attachments

        Activity

          People

            mikedd Michael Dick
            mikedd Michael Dick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: