public function setTransactionIsolation($level) {
        if ($level === self::TRANSACTION_PLATFORM_DEFAULT) {
            $level = $this->dbalPlatform->getDefaultTransactionIsolationLevel();
        }
        
        $this->dbalConnection->setTransactionIsolation($level);
    }