I’d like to save some images (jpeg) into a blob file. I don’t have any idea to start, how is a blob file generated ? I searched google and this site but i couldn’t find any example. I guess I don’t understand about blobs and database. Your guidance is best appreciated.
Share
You could try something like this:
A BLOB is a binary field in which you can write (in general) an array of bytes.
So you can read your file as byte[] and pass it to a query parameter.