openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albert Lee (JIRA)" <>
Subject [jira] [Resolved] (OPENJPA-2134) Do not close Connections when ConnectionRetainMode is set to "always"
Date Tue, 09 Oct 2012 18:20:04 GMT


Albert Lee resolved OPENJPA-2134.

    Resolution: Fixed
> Do not close Connections when ConnectionRetainMode is set to "always"
> ---------------------------------------------------------------------
>                 Key: OPENJPA-2134
>                 URL:
>             Project: OpenJPA
>          Issue Type: Improvement
>          Components: jdbc, performance
>    Affects Versions: 2.3.0, 2.2.1
>            Reporter: Kevin Sutter
>            Assignee: Kevin Sutter
>             Fix For: 2.3.0, 2.2.1
> 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...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message