Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 76434 invoked from network); 3 Feb 2009 10:30:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Feb 2009 10:30:22 -0000 Received: (qmail 94538 invoked by uid 500); 3 Feb 2009 10:30:21 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 94514 invoked by uid 500); 3 Feb 2009 10:30:21 -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 94503 invoked by uid 99); 3 Feb 2009 10:30:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 02:30:21 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Feb 2009 10:30:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A9827234C48D for ; Tue, 3 Feb 2009 02:29:59 -0800 (PST) Message-ID: <1349404526.1233656999686.JavaMail.jira@brutus> Date: Tue, 3 Feb 2009 02:29:59 -0800 (PST) From: "Milosz Tylenda (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-881) Enable connection pooling for testcases. In-Reply-To: <197966014.1233259561309.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12669920#action_12669920 ] Milosz Tylenda commented on OPENJPA-881: ---------------------------------------- Mike, I think specifying eviction stuff via dbcp.args is OK. > Enable connection pooling for testcases. > ----------------------------------------- > > Key: OPENJPA-881 > URL: https://issues.apache.org/jira/browse/OPENJPA-881 > Project: OpenJPA > Issue Type: Improvement > Affects Versions: 1.0.4, 1.1.1, 1.2.1, 1.3.0, 2.0.0 > Reporter: Michael Dick > Assignee: Michael Dick > > Test configurations currently use dbcp with MaxIdle=0, effectively no connection pool. For Derby this doesn't have much of an effect but with other databases, like DB2, setting MaxIdle=2 can dramatically improve the time taken to run the tests. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.