code: public <T> T getSingle(String query, Class<T> entityClass, Object... params)
              throws SQLException, NoSuchFieldException, InstantiationException, IllegalAccessException {
          Cursor<T> cursor = getCursor(query, entityClass, params);
          return cursor.fetchSingle();
      }
docs: Executes SQL query, which returns single entity.
  
  @param <T>         Entity type.
  @param query       SQL query string.
  @param entityClass Entity class.
  @param params      Parameters, which will be placed instead of '?' signs.
  @return Single result entity.
  @throws SQLException           In general SQL error case.
  @throws NoSuchFieldException   If result set has field which entity class doesn't.
  @throws InstantiationException If entity class hasn't default constructor.
  @throws IllegalAccessException If entity class is not accessible.