Mar 29th, 2010, 12:19 PM
help with loading files into Database as blob using MultiResourceItemReader
My requirement is to read a directory (i.e. C:\data) which might contain files like
And then do two of the following things
1) take each file in that directory to load into the database as a blob
2) Read each file and process lines within each file and put them into a staging database table.
i know there is a MultiResourceItemReader for this purpose. If some one has a similar requirement and did this already, it would be great if they can share their thoughts and some sample code will help also.