/**
  * Gets the result set mapping.
  *
  * @see ClassMetadataInfo::$sqlResultSetMappings
  * @throws  MappingException
  * @param   string $name The result set mapping name
  * @return  array
  */
 public function getSqlResultSetMapping($name)
 {
     if (!isset($this->sqlResultSetMappings[$name])) {
         throw MappingException::resultMappingNotFound($this->name, $name);
     }
     return $this->sqlResultSetMappings[$name];
 }