private function beginTransaction(IsolationLevel $level = null, AccessMode $mode = null) { $this->assertFinished(); if (!$this->db->inTransaction()) { $this->db->begin($level, $mode); } else { $this->savepointName = $this->createSavepointName(); $this->db->savepointBegin($this->savepointName); } }
protected function openTransaction() { $this->db->begin(); }