public function getOne($query, $parameters = [])
    {
        // @deprecated since v6.0 (2016-04-13); Backward compatibility for v5.3.0.
        $parameters = $this->assureParameterIsAnArray($parameters);
        // END deprecated

        if ($this->doesStatementProduceOutput($query)) {
            try {
                return $this->getConnection()->fetchColumn($query, $parameters);
            } catch (DBALException $exception) {
                $exception = $this->convertException($exception);
                $this->handleException($exception);
            } catch (PDOException $exception) {
                $exception = $this->convertException($exception);
                $this->handleException($exception);
            }
        } else {
            \OxidEsales\Eshop\Core\Registry::getLogger()->warning('Given statement does not produce output and was not executed', [debug_backtrace()]);
        }

        return false;
    }