Re:Blob Type
abel birya <[email protected]> Tue, 8 Sep 2009 12:25:18 +0300
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
Hello all, I was wondering how best to work with images and/or documents that I want to save in a db based on the SFieldBlob data type. Once I have retrieved the file (eg image) from a web page, should I immiately pass it as a blob type such as "setBlob(SrecordMeta.BlobField, getUploadFile) or do I have to write some code to convert it into some kind of byte array and then pass it to the blob type? Kindly assist. Regards. Abel