|
From: Mark St G. <stg...@ca...> - 2005-10-02 20:41:36
|
I am running Webpshere 6, with Hibernate 3, Spring 1.2.5 and Oracle 10g....
I also get back a: oracle.jdbc.driver.T4CConnection
assertTrue(oracle.jdbc.OracleConnection.class.isAssignableFrom(conn.getClass()));
assertTrue(oracle.jdbc.driver.OracleConnection.class.isAssignableFrom(conn.getClass()));
And it looks to be assignable...
Cheers
Mark
Thomas Risberg
<thomas.risberg@t
ridb.com> To
Sent by: spr...@li...
springframework-d rceforge.net
eveloper-admin@li cc
sts.sourceforge.n
et Subject
Re: [Springframework-developer]
OracleLobHandler on WebSphere 6.0
10/02/2005 03:11
PM
Please respond to
springframework-d
eveloper
I think the oracle.jdbc.driver.OracleConnection extends
oracle.jdbc.OracleConnection so they should both work. The
connection I get back from 10g is oracle.jdbc.driver.T4CConnection
and it is assignable as well. Could this be a class loader issue?
Thomas
On Oct 2, 2005, at 3:20 PM, Duncan Mills wrote:
> Juergen,
> There has been some refactoring in the Oracle JDBC drivers (as of
> the 10g version) so the correct class is now
> oracle.jdbc.Connection. oracle.jdbc.driver.Connection is deprecated
> but should still be supported until version 11 of the database.
> I'm not sure if that's the cause of the problem here but it's
> probably more than coincidental..
> Duncan
>
> Juergen Hoeller wrote:
>
>
>> We have a report about an issue with Spring's OracleLobHandler on
>> WebSphere
>> 6.0:
>> http://opensource2.atlassian.com/projects/spring/browse/SPR-1317
>>
>> Our WebSphereNativeJdbcExtractor seems to work, actually. It's
>> rather that
>> WebSphere returns an object of class "oracle.jdbc.Connection" as
>> underlying
>> connection there, not an "oracle.jdbc.driver.Connection" - as
>> expected by
>> our OracleLobHandler, according to the Oracle 9i+ JDBC API.
>>
>> Could this be caused by a different Oracle driver that WebSphere
>> uses, at
>> least in that specific scenario? Maybe it uses an older Oracle
>> driver that
>> doesn't support the "oracle.jdbc.driver" package yet? Has anybody
>> ever
>> encountered this, no matter whether on WebSphere or not?
>>
>> It would be great if someone with access to a WebSphere 6.0 + Oracle
>> installation could give this a try and see whether there's a way
>> to solve
>> the issue...
>>
>> Juergen
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by:
>> Power Architecture Resource Center: Free content, downloads,
>> discussions,
>> and more. http://solutions.newsforge.com/ibmarch.tmpl
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-
>> developer
>>
>>
>
> --
>
> Regards
>
> Duncan Mills
> Senior Principal Product Manager
> Oracle Application Development Tools
>
> Dun...@or...
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Springframework-developer mailing list
Spr...@li...
https://lists.sourceforge.net/lists/listinfo/springframework-developer
|