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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -