/**
  * _performQuery() - This method accepts a Doctrine\ORM\Query object and
  * performs a query against the database with that object.
  *
  * @param Doctrine\ORM\Query $query
  * @throws Zend_Auth_Adapter_Exception - when a invalid select object is encoutered
  * @return array
  */
 protected function _performQuery(Doctrine\ORM\Query $query)
 {
     try {
         $resultIdentities = $query->execute();
     } catch (Exception $e) {
         /**
          * @see Zend_Auth_Adapter_Exception
          */
         require_once 'Zend/Auth/Adapter/Exception.php';
         throw new Zend_Auth_Adapter_Exception('The supplied parameters to \\Doctrine\\ORM\\EntityManager failed to ' . 'produce a valid sql statement, please check entity and column names ' . 'for validity.');
     }
     return $resultIdentities;
 }