Hi there,
I am connecting with a
JDBC database and pulling my values into a ResultSet and then transferring them into Vectors. However, when i pull a value from a Vector using the get() method it returns the value enclosed in square brackets, i.e. [value]. I know it is supposed to return an object but when i try to type cast to an integer i get a whole host of nasty looking error messages! The program compiles ok, its just that when the program trys to run the type cast the errors appear in the console window.
Has anyone got any ideas what i'm doing wrong here. I can't help but think that the values shouldn't be enclosed in square brackets and these are what are causing the problem.
Any help would be much appreciated as this problem has really got me stumped!