Posted: Wed Nov 26, 2008 5:08 pm Post subject: Блокировки 'ENQUEUE_E_...' и Persistent Objects
Вопрос - если обновление таблицы происходит через вызов метода SET_<...> Persistent Object, то нужно ли блокировать/разблокировать таблицу через вызов ФМ 'ENQUEUE_E_...' и 'DEQUEUE_E_...' или просто достаточно вызвать COMMIT WORK AND WAIT?
Буквально 2 дня назад читал статью в последнем выпуске sappro.com - "Use ABAP’s Object Services to build object-oriented enterprise applications and divide database access from application logic". Там люди пишут, что им пришлось самим писать решение по блокировкам, т.к. автоматом фреймворк не поддерживает:
Quote:
At first, we were disappointed to find that Object Services don’t come with a mechanism to synchronize concurrent write accesses. Fortunately, you can use the interfaces that Object Services provide to implement a generic service usable in any number of classes and applications without adaptation. For our solution, we didn’t have to develop a new lock concept from scratch; instead, we based our solution on the SAP Lock Concept, which we integrated into the existing functionalities of Object Services.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.