Hello!
Right now in my code i have a procedure that i need to execute followed by other ORM updates/inserts. To execute my procedure i use
    $result = $this->getDI()->get('db')->query(
            'SELECT * FROM procedure(:param)', 
            array(
                'param' => $param
            )
        );I want to do something like
    $result = $this->getDI()
        ->get('db')
        ->setTransaction($transaction)
        ->query(
            'FOOBAR'
        );
    $model = new MyModel();
    $model->setTransaction($transaction);
    $model->save();
    if ($isOk) {
        $transaction->commit();
    }