Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-27 Thread Guy Rouillier
acle.sql.STRUCT)resultGetter.getObject(); } catch (SQLException e) { // TODO: handle exception e.printStackTrace(); } return attribute } Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT at gov.noaa.ncdc.cdo.services.dao.ibatis.typehandlers.Att

Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-27 Thread Brian May
te } Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT at gov.noaa.ncdc.cdo.services.dao.ibatis.typehandlers.AttributeHandlerCallback.getResult(DataHandlerCallback.java:30) at com.ibatis.sqlmap.engine.type.CustomTypeHandler.getResult(CustomTypeHandler.

Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-27 Thread Brian May
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.

Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-26 Thread cowwoc
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 instantiat

Re: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-26 Thread Guy Rouillier
ject(); } catch (SQLException e) { // TODO: handle exception e.printStackTrace(); } return attribute } Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT at gov.noaa.ncdc.cdo.services.dao.ibatis.typehandlers.AttributeHandlerCallback.getResult(DataHandlerCallba

oracle.sql.STRUCT cannot be cast to oracle.sql.STRUCT

2010-04-26 Thread Brian May
} catch (SQLException e) { // TODO: handle exception e.printStackTrace(); } return attribute } Caused by: java.lang.ClassCastException: oracle.sql.STRUCT cannot be cast to oracle.sql.ST