Using TRANSACTION_READ_COMMITTED

This commit is contained in:
Thomas Müller 2015-04-13 11:36:06 +02:00 committed by Joas Schilling
parent 2e06cf49a5
commit bcf65d9c13

View file

@ -79,6 +79,8 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection {
parent::__construct($params, $driver, $config, $eventManager);
$this->adapter = new $params['adapter']($this);
$this->tablePrefix = $params['tablePrefix'];
parent::setTransactionIsolation(parent::TRANSACTION_READ_COMMITTED);
}
/**