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?
Edit: I already use preparedStatement.addBatch()