cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Database Transaction in SAPUI5

rizaldiramdlani
Explorer
0 Kudos

I've created a SAPUI5 application with SAP Hana cloud as its Database. I have one function where it involve several actions to Database like inserting several new records and updating other table. I wanted to know if there is a transaction method to keep our data consistent in SAPUI5 in regard to HANA database?

Thanks.

View Entire Topic
chgeo
Advisor
Advisor
0 Kudos

You may want to check out the CAP documentation on concurrency control.

rizaldiramdlani
Explorer
0 Kudos

Thanks for the reference, but in my case the data I modified or inserted directly impact the UI so that's why I used oBinding or contextBinding in the SAPUI controller. Do you know how to manage such transaction in application level.