Uploading and Downloading File in Database
If there is a need to keep the attachment content in database table instead of file system, AlchemyJ can achieve this using the following two extended functions. Similarly with single table maintenance, the user does not need to write any SQL statement.
1.ajUploadLob: Upload the file into a database table.
2.ajDownloadLob: Download the file content kept in a database table and save as a file in the file system.
The file upload and download in database can support MySQl, MSSQL and Oracle database.