public function selectReadConnection() {
        $transaction = new Transaction($this->getReadConnectionService());
        if($transaction->isInTransaction()) {
            return $transaction->getTransaction()->getConnection();
        } else {
            return $this->getReadConnection();
        }
    }