I can access my database and return data however I need to have that data converted... right now it looks like
[package.method@396f6598] and I need it to return the actual value of what is in that data location.
(I hope that makes sense)
Basically I run a SQL script, it returns data from the table and then adds that data to a list, however when I look at the list I get the aforementioned results, not that actual table data
here is the code snippet I am using to create the list.
What I meant is that something is printing out as if the toString method had not been overridden:-
Yesterday, John Morgan wrote:right now it looks like [package.method@396f6598]
I think that actually means
The class which encapsulates those data probably hasn't got its own toString method. It would appear that the data from the SQL query are going into that object and not being displayed in the required format.
But how did the elephant get like that? What did you do? I think all we can do now is read this tiny ad: