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