From dev-return-21068-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Tue Oct 9 18:20:04 2012 Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCF86DDA6 for ; Tue, 9 Oct 2012 18:20:04 +0000 (UTC) Received: (qmail 82044 invoked by uid 500); 9 Oct 2012 18:20:04 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 81996 invoked by uid 500); 9 Oct 2012 18:20:04 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 81948 invoked by uid 99); 9 Oct 2012 18:20:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 18:20:04 +0000 Date: Tue, 9 Oct 2012 18:20:04 +0000 (UTC) From: "Albert Lee (JIRA)" To: dev@openjpa.apache.org Message-ID: <1282949870.15884.1349806804363.JavaMail.jiratomcat@arcas> In-Reply-To: <1059514824.6247.1329840034677.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (OPENJPA-2134) Do not close Connections when ConnectionRetainMode is set to "always" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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