You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Kevin Sutter (Created) (JIRA)" <ji...@apache.org> on 2012/02/21 17:00:34 UTC

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

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


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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Kevin Sutter (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Sutter updated OPENJPA-2134:
----------------------------------

    Fix Version/s: 2.2.1
                   2.3.0
    
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
     [ 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

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

Posted by "Kevin Sutter (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on OPENJPA-2134 started by Kevin Sutter.

> 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
>
> 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Albert Lee (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENJPA-2134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Albert Lee closed OPENJPA-2134.
-------------------------------

    
> 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