title: ORMLite select some columns using predicates
body: <p>I have ORMLite database with some fields. I want to select titles from the table where id == id which I get from webservice. I do like that: </p>
  
  <pre><code> try {
      Dao&lt;ProcessStatus,Integer&gt; dao = db.getStatusDao(); 
      Log.i("status",dao.queryForAll().toString());
      QueryBuilder&lt;ProcessStatus,Integer&gt; query = dao.queryBuilder();
      Where where = query.where();
      String a = null;
      for(Order r:LoginActivity.orders) {
          //LoginActivity.orders - array of my objects which I get from webservice
          Log.i("database",query.selectRaw("select title from process_status").
              where().rawComparison(ProcessStatus.STATUS_ID, "=",
                         r.getProcess_status().getProccessStatusId()).toString());
      }
      Log.i("sr",a);
  } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }
  </code></pre>
  
  <p>I tried like this but I get only sets of my id, not titles. I tried like this:</p>
  
  <pre><code>Log.i("database", query.selectColumns(ProcessStatus.STATUS_TITLE).where().
      eq(ProcessStatus.STATUS_ID, r.getProcess_status().getProccessStatusId())
      .toString());
  </code></pre>
  
  <p>but I have the same result. How should I get data from database?</p>