How to retrieve String from a BLOB field
Posted on 2012-08-20
I have Database MySQL.
I have a BLOB column in a table. column name is QUERY .
I have put a text in this column.
Now I want to retrieve this text string in java.
In java if I do ..
rs.getBlob("QUERY").toString() ...does not give me the text string.
how do I get the text string ? Whats the correct approach ?