Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 53440 invoked from network); 10 Jul 2008 14:00:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jul 2008 14:00:52 -0000 Received: (qmail 36569 invoked by uid 500); 10 Jul 2008 14:00:51 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 36545 invoked by uid 500); 10 Jul 2008 14:00:51 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 36534 invoked by uid 99); 10 Jul 2008 14:00:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 07:00:51 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of david.n.arnold@gmail.com designates 209.85.146.181 as permitted sender) Received: from [209.85.146.181] (HELO wa-out-1112.google.com) (209.85.146.181) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2008 13:59:59 +0000 Received: by wa-out-1112.google.com with SMTP id n7so1935437wag.13 for ; Thu, 10 Jul 2008 07:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=+LWIce6e7DhfMaMcShD1mhkbtaH2OEYygwRoQl+NF/o=; b=lDDNNncGBzBrLdPW4QabCL5deQvpKZXHIs25YBG6V/cIz10fIcMeqOVk5n2ZQ5nlJ0 1CA+zNdRoko5wg8CXV7m3+Xnh3sd8fFBksslinDiGWi5rXTo8r/6VO+acUlzSmeOHFO4 RFW3y9q54+GnyJXWimEp6HscRU2DYIYp1KZqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uV3X78QHaWUS0efw0lR9Wus8VUdZ1jgYkpQ3GxOkukf0JIllEWpuspV2HDc5pbLbzK 1ENVZ0jBL6Uly1cFjlz0DIyXOzHdVuJ8zvVr1iYzX0eoIXiQX/tzg6S7QD8cQcB1Bx+W 9z7K22y2xM2EPIQGWZlDLneUiPFZ36OvxblEo= Received: by 10.114.178.13 with SMTP id a13mr10811830waf.182.1215698421723; Thu, 10 Jul 2008 07:00:21 -0700 (PDT) Received: by 10.115.49.9 with HTTP; Thu, 10 Jul 2008 07:00:21 -0700 (PDT) Message-ID: <34670f550807100700y469e0c42r26b96dd30c86641a@mail.gmail.com> Date: Thu, 10 Jul 2008 10:00:21 -0400 From: "David N. Arnold" To: users@openjpa.apache.org Subject: Re: Does ConnectionRetainMode do anything? In-Reply-To: <1215696779734-472295.post@n2.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <34670f550807090858l53a094efk6ed557b080aa3233@mail.gmail.com> <1215656179236-471550.post@n2.nabble.com> <34670f550807100556r2b2d09b8i9345de0158062423@mail.gmail.com> <1215696779734-472295.post@n2.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jul 10, 2008 at 9:32 AM, Pinaki Poddar wrote: > > Hi, > Are you using a connection pool? If you are concerned with physical > connection to the database being opened and closed repeatedly, then > configuring a connection pool will help. OpenJPA does not include any > out-of-the-box connection pool but configuring one with a common JDBC driver > is straightforward (see FAQ[1]). I am not using any connection pooling currently. I will look into setting it up. Thanks for your help!