This is next post related to Oracle Offline Persistence Toolkit. Check my previous writing on same subject – Implementing Handle Patch Method in JET Offline Toolkit. Read more about toolkit on GitHub repo.
When application goes online, we call synchronisation method. If at least one of the requests fails, then synchronisation is stopped and error callback is invoked, where we can handle failure. In error callback, we check if failure is related to the conflict – then we open dialog, where user will decide what to do (to force client changes or take server changes). Reading latest change indicator value from response in error callback (to apply it, if user decides to force client changes in the next request):
Dialog is simple – it displays dynamic text for conflicted value and provides user with a choice of actions: Read the complete article here.
For regular information become a member in the WebLogic Partner Community please visit: http://www.oracle.com/partners/goto/wls-emea ( OPN account required). If you need support with your account please contact the Oracle Partner Business Center.