Hi,
I’ve got a problem. The same execute ‘xx->save();’, it works when I put it out of the transaction block. But if I put it in the transaction block, as below, it doesn’t work any more. Why?
$transaction = $connection->beginTransaction();
try {
xx->save();
} catch (Exception $e) {
$transaction->rollBack();
}