code: private List<Object> _jdoExecuteQuery(
                      final String oql,
                      final Object[] params
                      )
      {
          List<Object>  results = null;
          try {
              results = getExtendedCastorTemplate().findByQuery( oql, params );
          } catch (DataAccessException ex) {
              throw new PersistenceException( ex.getMostSpecificCause() );
          }
  
          return results;
      }
docs: Executes the specified OQL query.