Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

ADF developer encountered an error: JBO-26030 could not lock the record, and another user held the lock

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

While testing the deployed ADF program, the following error was encountered: "the record cannot be locked and another user holds the lock."

After examining the code, it is found that two consecutive commit operations are performed on the same data in the method of the code. The reason for this design is that some of the fields of the data are first processed in the method, and then the bpm service is called by commit, and after completion, the value of the status field in the data is changed.

Through logical adjustment, the modification of the current row data is placed before the call to bpm's service, and the commit is performed once. Resolve this issue after redeployment.

Netizens who encounter this problem can try to solve it in this way, and we can communicate more.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report