Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

Capture information string output of MySQL - LOAD DATA INFILE while coding in Java (1 reply)

$
0
0
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.

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>