openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From catalina wei <>
Subject Re: Tuning tips for using DB2 with junit tests?
Date Mon, 09 Feb 2009 18:39:38 GMT
The DB2 versions you are using might perform better with following property
settings in persistence.xml:

<property name="openjpa.ConnectionRetainMode", value="always" />
<property name="openjpa.jdbc.TransactionIsolation", value="read-committed"

On Mon, Feb 9, 2009 at 7:10 AM, Donald Woods <> wrote:

> Does anyone have tuning tips for using DB2 with the
> openjpa-persistence-jdbc junit tests?  I didn't find any mention of
> suggested config settings in the latest User's Guide.  I tried running the
> junit tests with DB2 8.1.17 Express on WinXP (Dual Core w/ 2GB RAM) and got
> a lot of connection errors, even after upping the number of local maxappls
> to 20 (but had the memory usage capped at 500MB.)
> I'm going to try DB2 9.5 Express-C next, but was wondering if there were
> any setup or config steps to follow when creating the DB to use with for the
> junit tests?
> Thanks,
> Donald

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message