MySQL documentation says:
When the LOAD DATA INFILE statement finishes, it returns an information string in the following format:
Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
Now, I want to get this information string when I execute Load Data Infile through my Java code. This is needed as I have to tally the number of inserts made into the table to make sure that we do not miss any record. Note that my Java code is all right, I need to know how to capture this string.
When the LOAD DATA INFILE statement finishes, it returns an information string in the following format:
Records: 1 Deleted: 0 Skipped: 0 Warnings: 0
Now, I want to get this information string when I execute Load Data Infile through my Java code. This is needed as I have to tally the number of inserts made into the table to make sure that we do not miss any record. Note that my Java code is all right, I need to know how to capture this string.