code: @Override
    public final <T> T retrieveEntityWithConditions(
      final Map<String, Object> pAddParam,
        final Class<T> pEntityClass,
          final String pQueryConditions) throws Exception {
      if (pQueryConditions == null) {
        throw new ExceptionWithCode(ExceptionWithCode.WRONG_PARAMETER,
          "param_null_not_accepted");
      }
      String query = evalSqlSelect(pAddParam, pEntityClass);
      return retrieveEntity(pAddParam, pEntityClass,
        query + " " + pQueryConditions + ";\n");
    }
docs: <p>Retrieve entity from DB by given query conditions.
  The first record in record-set will be returned.</p>
  @param <T> entity type
  @param pAddParam additional param, e.g. already retrieved TableSql
  @param pEntityClass entity class
  @param pQueryConditions Not NULL e.g. "where name='U1' ORDER BY id"
  or "" that means without filter/order
  @return entity or null
  @throws Exception - an exception