Magento Forum

   
Do BLOB fields work? 
 
a4345ergdfg45
Jr. Member
 
Total Posts:  24
Joined:  2008-09-09
 

Hi there!

I have just implemented some BLOB fields in the sales_order table to store some files attached to that order. In the code later on, I fill it via

$salesOrder->setData("<blobfieldname>""<base64data>");

This fills out the data attribute in the Model and I can get it via getData() right after the have set it. However, I can not make it store the BLOB content in the respective table record - even if save() is invoked.

Unfortunately, I am forced to do it that way. Storing the files on the disc directly is strictly prohibited by my client for security reasons.

Any ideas?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top