I have a longblob field in a table that stores pics and other files. I am developing a Java application that needs to retrieve the files from the database and view them. I know that the longblob fields are binary data. Could you please provide me with some sample code that will at least retrieve the file from the database and save it on the user's hard disk?
If there is a way to store a file as blob, then there should be a way to retrieve it!
Thanks
If there is a way to store a file as blob, then there should be a way to retrieve it!
Thanks
Comment