title: Insert in batch mode on PostgreSQL 9.6 with Apache Spark 1.6
body: <p>Please, there is a configuration or params to do this:</p>
  
  <pre><code>dataFrame.write.mode(saveMode).jdbc(url, "tablename", new java.util.Properties())
  </code></pre>
  
  <p>Command is written in Scala, Apache Spark 1.6</p>
  
  <p>That takes a DataFrame and inserts data in PostgreSQL row by row, one by one. We need to do this in batch mode.</p>
  
  <p>Anyone knows if exists any configuration or another way to accomplish that?</p>
  
  <p>Thanks in advance</p>