db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Eclipse
Date Fri, 16 Apr 2010 13:58:57 GMT
?? ??????????? wrote:
> Hence the difference between highlighted class name and exception
> class name. They do not match. John
> 
> 
> ------------------------------------------------------------------------
> 

I'm not sure I understand. You're getting a ClassCastException on a
call to metadata.getColumns()?

I see that the message says "org.apache.derby.impl.jdbc.EmbedResultSet40
cannot be cast to org.apache.derby.client.am.ResultSet", which is true.

Are you importing org.apache.derby.client.am.ResultSet directly?

Can you use java.sql.ResultSet instead?

thanks,

bryan


Mime
View raw message