title: Is it safe to Insert data in MySQL database using Java.Thread?
body: <p>in according to my question above, I need to insert over 20000 thousands rows in one table of my database. In according to the performance I'm searching for a way to increase the efficiency of this process. My first Idea was to realize this with Java.Thread but i not quite sure if this is save enough. Has someone any good advices for me?</p>
  
  <p>Edit: I already use <code>preparedStatement.addBatch()</code></p>