db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kalén <martin.ka...@curalia.se>
Subject Re: [Fwd: Oracle9i platform does not work in managed environment]
Date Tue, 22 Jun 2004 03:24:02 GMT

Rearranging original comments a bit for readability...

Armin Waibel wrote:
>> -------- Original Message --------
>> It looks like the current Oracle9i platform does not workin a managed
>> environment (e.g. WebLogic).  The problem
>> occurs when the connection is intialized
>> PlatformOracle9iImpl.initializeJdbcConnection(JdbcConnectionDescriptor jcd,
>> Connection conn)
>> which tries to set up a statement cache.  As WebLogic wraps the Oracle
>> connection an exception is thrown
>> saying you cannot set the statement cache size through a logical 
>> connection.
> can some Oracle guys comment this post from the user list?

Don't have WebLogic at hand, but it seems resonable. I had a look at the
Oracle-specific optimisations in the Oracle9i platform and they all throw
exceptions if reflection lookups are successful but method invokation fail.

(Oracle-specific statement caching, row prefetching etc)

> How can we fix this? Think this platform class couldn't be used in 
> managed environments.

By not throwing exceptions. This will be like saying "bummer; we were
close to enabling platform-specific optimisations but failed at the
finish line -- reverting to default standard JDBC behaviour" which is OK.

When Scarab (or my ISP?) wakes up again ;-) I will file an issue+patch for this.


Martin Kalén
Curalia AB              Web:  http://www.curalia.se
Orrspelsvägen 2B        Mail: info@curalia.se
SE-182 79  Stocksund    Tel:  +46-8-410 064 40

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

View raw message