protected function LastError() { if (isset($this->lastException)) { return $this->lastException->getMessage(); } else { return parent::LastError(); } }
protected function LastError() { if ($this->queryResult) { $errorArray = oci_error($this->queryResult); } else { $errorArray = parent::LastError(); } return $errorArray['message']; }