java - Retrieving number of rows inserted with executeBatch() -


i'm implementing batch insertion of data mysql. used insert ignore when loop through int[] received, rows "ignored" returns value 1 need keep track of number of actual records being inserted.

    insert ignore demographics (mac_address,name,password,email,gender) values(?,?,?,?,?) 


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

excel - I can't get the attachement of the email PHP -

node.js - Express and Redis - If session exists for this user, don't allow access -