Creating a Job to insert BLOB data into a MySQL table
Create a Job to iterate over the picture files in the
"C:/Talend/images" folder and insert each one into the
blobdemo table.
- The tFileList iterates all pictures in the "C:/Talend/images" folder.
- The tFixedFlowInput gets the current file path and outputs it.
- The tMap calls the routine to read the files as byte array.
- The tMysqlOutput inserts the BLOB data into the target table.