title: How to execute multiple SQL statements from java
body: <p>I want to execute the multiple queries or job in one execute.
  Something like this
  eg: </p>
  
  <pre><code>String query="select * from tab1;insert into tab1 values(...);update tab1..;delete from tab1...;"
  Statement st = con1.createStatement();
  ResultSet rs = st.executeQuery(query); 
  </code></pre>
  
  <p>Or multiple select queries.Queries will be dynamic.</p>
  
  <p>But I am not able to do this.What is the way to run multiple queries separated by semi colon.</p>