/**
  * @inheritdoc
  */
 public function setAutoCommit($autoCommit)
 {
     if ($this->isWrapped) {
         throw new LogicException('Auto commit may not be changed in isolated sessions.');
     }
     return parent::setAutoCommit($autoCommit);
 }