0
Good Staff I am with a very critical doubt I am not managing to recover the data from a field of my database that has the format blob I read some documentations but I could not understand very much I wonder if someone can give me a hint or even some example so that I can direct myself, I am using mysql as database.
You know what kind of information has been stored (image, video, audio...)?
– Paulo Weverton
I know if text and image have been stored
– Wesley Santos
text and image in only one BLOB field or only the image is in the BLOB field?
– Paulo Weverton
text and image in only one BLOB field
– Wesley Santos
Expensive, complicated. Because a blob field is just a byte array and to convert it back you need to know the type. If it’s just an image, just mount it to a native Java object. But being two values in just one blob I can only imagine creating a class with two attributes of different types (String, File) to serialize it and then send it to a blob and read it back. Therefore, you need to know how it was stored EXACTLY to make the reading process.
– Paulo Weverton
Putz is why it was not I who assembled this structure only what I know of the structure and that the field is array of bytes
– Wesley Santos