I have a Sqlite database file that has blob data in it. I only know the the database has blob data and I know what the expected output should be. The blob data\'s expected outp
Right now you are printing a byte[]
array toString()
. Arrays in Java don't implement in meaningful way.
You can try converting the byte[]
array into a String
with:
new String(buffer, Charsets.UTF_8)
If this doesn't work use rs.getBinaryStream(1)
to get the InputStream
representing the value and read it as per this answer.