March 12 2020, 01:17

Commerce Cloud Tips & Tricks for developers:

There is a well-known complexity: how to frequently update a large volume of products (in a complex data model). As soon as the issue of multithreading and clustering arises, questions about how to manage locks, which locking mechanism to choose—optimistic or pessimistic, etc., also emerge. In developing for SAP Commerce Cloud, you also encounter the peculiarities of the built-in ORM, which sometimes doesn’t behave as expected. I recently dealt with this, found the right approach, and described it in an article. The solution is very simple but might save someone time and effort.

Many people ask me – why do I share knowledge that took me hours or days to acquire. It’s simple: knowing the solution (which the article is about) gives a hypothetical five points to an architect, but knowing the path to this solution gives a hypothetical fifty. And yet, the path to the solution is not something you can easily detail in blogs and on the internet.

https://hybrismart.com/2020/03/12/concurrent-update-of-sap-commerce-cloud-item-relations/

Leave a comment