_isolationLevel = $level; $this->exec('SET TRANSACTION ISOLATION LEVEL ' . $sql); } public function getTransactionIsolation() { return $this->_isolationLevel; } /** * Performs the rollback. * * @override */ public function rollback() { $this->exec('ROLLBACK TRANSACTION'); } /** * Performs the commit. * * @override */ public function commit() { $this->exec('COMMIT TRANSACTION'); } /** * Begins a database transaction. * * @override */ public function beginTransaction() { $this->exec('BEGIN TRANSACTION'); } } ?>