openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Dick (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-881) Enable connection pooling for testcases.
Date Tue, 03 Feb 2009 21:08:00 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670110#action_12670110
] 

Michael Dick commented on OPENJPA-881:
--------------------------------------

I went ahead and tried adding the properties and ran into an error with commons-dbcp 1.2.1.
Upgrading to 1.2.2 resolved the issue. Did you run into the same or similar problems Milosz?


> 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.


Mime
View raw message