lib/Doctrine/DBAL/Connection.php
public function createSavepoint($savepoint)
    {
        if (! $this->getDatabasePlatform()->supportsSavepoints()) {
            throw ConnectionException::savepointsNotSupported();
        }

        $this->getWrappedConnection()->exec($this->platform->createSavePoint($savepoint));
    }
public function createSavepoint($savepoint)
    {
        if (! $this->getDatabasePlatform()->supportsSavepoints()) {
            throw ConnectionException::savepointsNotSupported();
        }

        $this->getWrappedConnection()->exec($this->platform->createSavePoint($savepoint));
    }
public function createSavepoint ( $ savepoint ) { if ( ! $ this -> getDatabasePlatform ( ) -> supportsSavepoints ( ) ) { throw ConnectionException :: savepointsNotSupported ( ) ; } $ this -> getWrappedConnection ( ) -> exec ( $ this -> platform -> createSavePoint ( $ savepoint ) ) ; }
Creates a new savepoint.

@param string $savepoint The name of the savepoint to create.

@return void

@throws ConnectionException
Creates a new savepoint .