I am writing a plugin that performs a bulk update on Pimcore objects.
The issue is that I don’t see how I can perform a bulk save / database transaction using the Pimcore API.
I have tried to manually open a MYSQL transaction using:
The problem is when I eventually call
save on the object it fails because it also tries to open a transaction.
Is there any way to batch saves on multiple objects so that a failure of one object to save will cause the whole batch to fail?