title: unable to execute 'delete' query in java
body: <p>I am unable to execute 'delete' query in java. The query executes fine in command prompt. Following is the code. </p>
  
  <pre><code>   String deleteQuery = "delete from id_table where id ='1666';
     int result = Connection.createStatement().executeUpdate(deleteQuery);
  </code></pre>
  
  <p>I do not get any exceptions or error messages and the response of above code is '1', but the id's are not deleted from the DB. I have also tried following approach and here i get the response as 'false'. </p>
  
  <pre><code>   Statement stmt = null;
     stmt = hbaseConnection.createStatement();
     boolean result = stmt.execute("delete from id_table where id ='1666';");
     stmt.close();
  </code></pre>