Re: ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource

Posted by Wai on
URL: http://ofbiz.116.s1.nabble.com/ImageDataResource-VideoDataResource-AudioDataResource-OtherDataResource-tp4354343p4377820.html

I agree that it's not much trouble to do the extra work of deleting an entry from one table and creating another in another table.  The point was that it's an extra step that was not required.  Hence simplifying the management process.  Even querying the database related to these separated tables become more complicated then it needs to be (ie. query all contents for a particular party/category/etc).

Unfortunately, I am not familiar with database tuning as it related to separate blob types so I cannot comment on it.

My proposal was to all the experienced ofbiz developers.  If no one can justify an advantage of having separate ImageDataResource, VideoDataResource, AudioDataResource, OtherDataResource.  Perhaps it would be better to only use ImageDataResource to store binary file uploads and deprecate all the others.

Thanks,
Wai