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-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org


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

Reply via email to