?? ??????????? 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