public function createResultSetMappingBuilder($alias = null)
    {
        if (!$alias) {
            $alias = $this->getEntityAlias();
        }

        $resultSet = new ResultSetMappingBuilder(
            $this->getEntityManager(), ResultSetMappingBuilder::COLUMN_RENAMING_INCREMENT
        );
        $resultSet->addRootEntityFromClassMetadata($this->getClassName(), $alias);

        return $resultSet;
    }