'Oracle ADF Rest - overridden prepareForDML method is not called when there is no change in attribute

In my EOImpl class , I have overridden prepareForDML method to call an external API and based on external API response I have to update an attributes value.

In case of PATCH API call with change in attribute value it works fine , but PATCH API call without any change in attribute's value prepareForDML method is not executed.

Is it possible to call prepareForDML method when there is no change in attribute's value.

Or is there any alternative approach to implement this ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source