[ https://issues.apache.org/jira/browse/DBCP-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed DBCP-580. -------------------------------- Resolution: Abandoned > Not compatible with org.dbunit.IDatabaseTester > ----------------------------------------------- > > Key: DBCP-580 > URL: https://issues.apache.org/jira/browse/DBCP-580 > Project: Commons DBCP > Issue Type: Bug > Affects Versions: 2.7.0, 2.9.0 > Environment: <dependency> > <groupId>com.github.springtestdbunit</groupId> > <artifactId>spring-test-dbunit</artifactId> > <version>1.3.0</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.dbunit</groupId> > <artifactId>dbunit</artifactId> > <version>2.7.2</version> > <scope>test</scope> > </dependency> > Reporter: Arelowo > Priority: Major > > We tried to upgrade to the latest version from 1.4 but it seems to be causing > an issue with our db unit test. > > We get the following printed over and over again when the onSetup() method is > invoked > {code:java} > at java.lang.StringBuilder.append(StringBuilder.java:131)at > java.lang.StringBuilder.append(StringBuilder.java:131) at > org.apache.commons.pool2.impl.GenericKeyedObjectPool.toStringAppendFields(GenericKeyedObjectPool.java:1593) > at org.apache.commons.pool2.BaseObject.toString(BaseObject.java:31) at > org.apache.commons.dbcp2.PoolingConnection.toString(PoolingConnection.java:584) > at java.lang.String.valueOf(String.java:2994) at > java.lang.StringBuilder.append(StringBuilder.java:131) at > org.apache.commons.pool2.impl.GenericKeyedObjectPool.toStringAppendFields(GenericKeyedObjectPool.java:1593) > at org.apache.commons.pool2.BaseObject.toString(BaseObject.java:31) at > org.apache.commons.dbcp2.PoolingConnection.toString(PoolingConnection.java:584) > at java.lang.String.valueOf(String.java:2994) at > java.lang.StringBuilder.append(StringBuilder.java:131) at > org.apache.commons.pool2.impl.GenericKeyedObjectPool.toStringAppendFields(GenericKeyedObjectPool.java:1593) > at org.apache.commons.pool2.BaseObject.toString(BaseObject.java:31) at > org.apache.commons.dbcp2.PoolingConnection.toString(PoolingConnection.java:584) > at java.lang.String.valueOf(String.java:2994) at > java.lang.StringBuilder.append(StringBuilder.java:131) at > org.apache.commons.pool2.impl.GenericKeyedObjectPool.toStringAppendFields(GenericKeyedObjectPool.java:1593) > at org.apache.commons.pool2.BaseObject.toString(BaseObject.java:31) at > org.apache.commons.dbcp2.PoolingConnection.toString(PoolingConnection.java:584) > at java.lang.String.valueOf(String.java:2994) at > java.lang.StringBuilder.append(StringBuilder.java:131) at > org.apache.commons.pool2.impl.GenericKeyedObjectPool.toStringAppendFields(GenericKeyedObjectPool.java:1593) > at org.apache.commons.pool2.BaseObject.toString(BaseObject.java:31) at > org.apache.commons.dbcp2.PoolingConnection.toString(PoolingConnection.java:584){code} > > We tested different versions and it seems 2.1.1 does not have this bug. > -- This message was sent by Atlassian Jira (v8.20.10#820010)