db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kalén <mka...@apache.org>
Subject Re: Tomcat 5.0, JNDI-DataSource and Blobs
Date Mon, 20 Jun 2005 09:50:28 GMT
Ribi Roland wrote:
> I found a solution:
> Installed OJB 1.0.3 instead of 1.0.1

The reason it works with OJB 1.0.2 or later (and didn't in<=1.0.1) is that
Tomcat uses DBCP for Connection Pooling and that DBCP wraps the Oracle
Connection object in a DBCP-specific PoolWrapper object.

In older versions of OJB you would get exactly the same problem with
non-DataSource connection pools if you use the OJB DBCP ConnectionFactory
(configurable in OJB.properties).

We have added unwrapping of Connections object for all environments that
we have user reports for (including P6Spy, DBCP, JBoss, WebLogic).


To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org

View raw message