title: Synchrounous execution of stored procedure
body: <p>I have the following code:</p>
  
  <pre><code>connection = makeConnection();
  CallableStatement callableStatement = connection.prepareCall("{call dbo.delete_orders(?) }");
  callableStatement.setString(1, userName);
  callableStatement.execute();
  callableStatement.close();
  </code></pre>
  
  <p>Please help me to understand how I can guarantee that after last row execution stored procedure execution will be finished or it executes asynchronously.</p>