Gosh, this is really frustrating me. I want to get this figured out. So I have a DBDataAdapter class that has a book method which hides my methods of my Data class. I've done a lot of
testing and here is what I notice. When I don't instantiate an instance of my DBDataAdapter class, it runs fine. However, when I do, I get that Class Cast Exception. For easy testing purposes, I have my main method in my Data class. Here is the line of code for it...
This is in the main method in my Data class. Here is the framework for my DBDataAdapter class:
And I am getting that Class Cast Exception for some odd reason, which I don't know why. I even did many Sys.outs to check the size of my cache and it looked fine. Any ideas!?!?
[ December 05, 2004: Message edited by: Daniel Simpson ]