OpenJPA
  1. OpenJPA
  2. OPENJPA-2134

Do not close Connections when ConnectionRetainMode is set to "always"

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1, 2.3.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: jdbc, performance
    • Labels:
      None

      Description

      Currently, during the prepareForPooling processing, we are closing the Connection before allowing the EM to be put placed into a Container's EM Pool. That seems to be overkill, especially if the ConnectionRetainMode is set to "always". We'll use this Issue to at least improve this processing when ConnectionRetainMode is set to "always". But, this whole prepareForPooling might be unnecessary overhead. Only correcting one issue at a time...

      There are no Sub-Tasks for this issue.

        Activity

          People

          • Assignee:
            Kevin Sutter
            Reporter:
            Kevin Sutter
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development