public void deleteRow(Value[] current) throws SQLException {
  StatementBuilder buff=new StatementBuilder("DELETE FROM ");
  appendTableName(buff);
  appendKeyCondition(buff);
  PreparedStatement prep=conn.prepareStatement(buff.toString());
  setKey(prep,1,current);
  int count=prep.executeUpdate();
  if (count != 1) {
    throw DbException.get(ErrorCode.NO_DATA_AVAILABLE);
  }
}

public void deleteRow ( Value [ ] current ) throws SQLException { StatementBuilder buff = new StatementBuilder ( "DELETE FROM " ) ; appendTableName ( buff ) ; appendKeyCondition ( buff ) ; PreparedStatement prep = conn . prepareStatement ( buff . toString ( ) ) ; setKey ( prep , 1 , current ) ; int count = prep . executeUpdate ( ) ; if ( count != 1 ) { throw DbException . get ( ErrorCode . NO_DATA_AVAILABLE ) ; } }
delete the given row in the database .
