ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian May <Brian....@noaa.gov>
Subject Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT
Date Tue, 27 Apr 2010 11:11:52 GMT
This is was the problem. I had a feeling it was a ClassLoader issue, but 
the cause eluded me. I eventually found that I had the ojdbc6.jar in 
both the tomcat/lib and web-inf/lib. So, even though the same class was 
loaded they were not equal.

Thanks

cowwoc wrote:
> On 26/04/2010 3:48 PM, Guy Rouillier wrote:
>> Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be
>> cast to oracle.sql.STRUCT 
>
>     Sounds like a ClassLoader issue to me. The only time two classes 
> with the same name are not equal to one another is when they're 
> instantiated by different ClassLoaders.
>
> Gili
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
> For additional commands, e-mail: user-java-help@ibatis.apache.org
>

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


Mime
View raw message