Hello
I am getting Class Cast Exception At line no 24(command = (Command) Con.getCommand();)
Con.getCommand(); this statement returns an object of IDispatch and when i am Type Casting to Command type its throwing me Class Cast Exception.
Hope you understand my problem. Looking forward a solution for type casting the IDispatch Object to Command object.
Main Topics
Browse All Topics





by: objectsPosted on 2008-12-15 at 16:08:59ID: 23179526
sounds like its not returning a ResultSet, why are you expecting it to?
can you post the stack trace of the exception to verify
e.printStackTrace();