You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by Michael Watzek <mw...@spree.de> on 2005/08/11 17:59:50 UTC

TCK results using DBCP

Hi,

attached you find a patch using DBCP connection pool instead of C3P0 
connection pool. The patch specifies SNAPSHOT versions of DBCP. For this 
reason you will see downloads when calling maven.

These are the TCK results using DBCP:

Application indentity:
Tests run: 396,  Failures: 18,  Errors: 28, Time: 261,516 seconds.

Datastore indentity:
Tests run: 396,  Failures: 17,  Errors: 27, Time: 274,421 seconds.

In contrast to the results using C3P0 (relatively, using no connection 
pool) we have 2 errors more for each identity type. The exceptions are 
thrown while requesting a connection from the pool. You see the 
stacktrace below.

Regards,
Michael

java.lang.UnsupportedOperationException
	at 
org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:136)
	at org.jpox.store.rdbms.RDBMSManager.<init>(RDBMSManager.java:219)
	at 
org.jpox.store.rdbms.RDBMSManagerFactory.getStoreManager(RDBMSManagerFactory.java:59)
	at 
org.jpox.AbstractPersistenceManager.<init>(AbstractPersistenceManager.java:194)
	at org.jpox.PersistenceManagerImpl.<init>(PersistenceManagerImpl.java:34)
	at 
org.jpox.PersistenceManagerFactoryImpl.getPersistenceManager(PersistenceManagerFactoryImpl.java:811)
	at 
org.apache.jdo.tck.api.persistencemanagerfactory.AfterGetPersistenceManagerNoSetMethodsSucceed.runTest(AfterGetPersistenceManagerNoSetMethodsSucceed.java:137)
	at 
org.apache.jdo.tck.api.persistencemanagerfactory.AfterGetPersistenceManagerNoSetMethodsSucceed.testGetPersistenceManagerWithParameters(AfterGetPersistenceManagerNoSetMethodsSucceed.java:128)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:197)
	at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
	at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
-- 
-------------------------------------------------------------------
Michael Watzek                  Tech@Spree Engineering GmbH
mailto:mwa.tech@spree.de        Buelowstr. 66
Tel.:  ++49/30/235 520 36       10783 Berlin - Germany
Fax.:  ++49/30/217 520 12       http://www.spree.de/
-------------------------------------------------------------------