Capture information string output of MySQL - LOAD DATA INFILE while coding in Java
Posted by: S Dutta
Date: June 16, 2015 05:42AM

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.

Options: ReplyQuote


Subject
Written By
Posted
Capture information string output of MySQL - LOAD DATA INFILE while coding in Java
June 16, 2015 05:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.