BLOBs
|
Copyright 2008-2010 ManyDesigns srl. All rights reserved.
PurposeA BLOB attribute is a type of attribute that is suitable to contain documents, images, and other binary files.The storage of a BLOB attribute is made of two parts. Suppose you load a file called "mydocument.pdf" The binary data are stored on the file system using a numeric file name (such as "1", "2", etc.) instead of the original file name. The actual name ("mydocument.pdf") and a reference to the numeric file name are stored in the database. This approach allows performance and portability across all database technologies supported by Portofino. You generally don't need to care about the storage details which happen automatically behind the scenes. However a correct initial configuration of the system is important and will be discussed here. ConfigurationThe configuration is based on two parameters in the portofino-custom.properties file:
<versioning.cvs.workingDirectory>/<model.cvs.module>/blob/
For the example values given above, this would result in the following path:
/var/lib/portofinoprojects/myproj/blob/
Previous: Reports
Next: Class inheritance |