title: CassandraTemplate.execute Batch statements help needed in Spring
body: <p>I am having difficult time in finding a sample program that uses the execute of batch statement as argument for org.springframework.data.cassandra.core.CassandraTemplate;</p>
  
  <p>Basically I am trying to do multiple insert as a batch. </p>
  
  <pre><code>CqlTemplate cqltemplate = new CqlTemplate(session);
  cqltemplate.execute(Batch arg0);
  </code></pre>
  
  <p>How does it all come together? Also batch has issues in dealing with inserting multiple records to any unknown table (not linked to entity class). My project requires a method to do multiple insert for a given table and hashmap of key and values (row data) - which does not have an equivalent POJO Class. Any suggestions on how to achieve this?</p>