A bit late in response to this, but the problem is that SQLiteUtils.rawQuery () makes the assumption that the identifier column will always be in the cursor results. Set the String [] columns to {Id, your_column} and everything will be fine.
List<Category> categoryList = new Select(new String[]{"Id,your_column"}).from(Category.class).execute();
source
share