You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Albert Lee (JIRA)" <ji...@apache.org> on 2012/10/09 20:20:04 UTC

[jira] [Resolved] (OPENJPA-2134) Do not close Connections when ConnectionRetainMode is set to "always"

     [ https://issues.apache.org/jira/browse/OPENJPA-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Lee resolved OPENJPA-2134.
---------------------------------

    Resolution: Fixed
    
> Do not close Connections when ConnectionRetainMode is set to "always"
> ---------------------------------------------------------------------
>
>                 Key: OPENJPA-2134
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2134
>             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: http://www.atlassian.com/software/jira