Problem with CachedRowSetImpl
I am working with CachedRowSetImpl to retrieve and storage the data from database but I found a query that makes it hard: I am executing this query:
DATE is whatever date
select date_add('DATE', interval 1 month)
I copied and executed the query in the database and everything was fine it returns a string like 'yyyy-mm-dd' and I try to retrieve the result as follows:
result is a CachedRowSetImpl object that storages the result of the query and mesSiguiente is a string that storages the date.
mesSiguiente = result.getString(1);
the problem is that mesSiguiente always has something like "[B@1fd10fa", why ? I don't know
Any suggestions ?