It gives me There is no active transaction, i just have between begin and commit 3 lines of this->getModelsManager()->executeQuery("INSERT INTO ....");
The servicename if im not wrong is "db":
$di->set('db', function () use ($config) {
return new DbAdapter(array(
'host' => $config->database->host,
'username' => $config->database->username,
'password' => $config->database->password,
'dbname' => $config->database->dbname,
'charset' => $config->database->charset,
));
});