title: Get a cursor with a raw sql with ormlite
body: <p>I'd like to use a SimpleCursorAdapter with a Spinner.</p>
  
  <p>I found how to return a Cursor.</p>
  
  <pre><code>QueryBuilder&lt;ChoixPointVerification, Integer&gt; qb = choixPointVerificationDao.queryBuilder();
  qb.where().eq(FIELD, id);
  PreparedQuery&lt;ChoixPointVerification&gt; preparedQuery = qb.prepare();
  AndroidCompiledStatement compiledStatement =
                  (AndroidCompiledStatement)preparedQuery.compile(db, StatementType.SELECT);
  
  Cursor cursor = compiledStatement.getCursor();
  return cursor;
  </code></pre>
  
  <p>But the Spinner require a _id field and I'll only have an object with an id field. I prefer to avoid the rename of the field.</p>
  
  <p>How can I resolve that case ? I really need to associate an id to all spinner field.</p>
  
  <p>I imagined that I can maybe issue a cursor from a rawsql but I din't find how with ormlite. It seems to be possible if I can create a PreparedQuery with a raw sql.</p>
  
  <p>I also read that if I have an AndroidDatabase object I can issue a Cursor object but how can we create an AndroidDatabase with ormlite ?</p>
  
  <p>I'm really open with all the solution</p>
  
  <p>Regards</p>