SAP R/3 форум ABAP консультантов
Russian ABAP Developer's Club

Home - FAQ - Search - Memberlist - Usergroups - Profile - Log in to check your private messages - Register - Log in - English
Blogs - Weblogs News

Блокировки 'ENQUEUE_E_...' и Persistent Objects



 
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP
View previous topic :: View next topic  
Author Message
Vol@nd
Участник
Участник



Joined: 08 Sep 2008
Posts: 6

PostPosted: Wed Nov 26, 2008 5:08 pm    Post subject: Блокировки 'ENQUEUE_E_...' и Persistent Objects Reply with quote

Вопрос - если обновление таблицы происходит через вызов метода SET_<...> Persistent Object, то нужно ли блокировать/разблокировать таблицу через вызов ФМ 'ENQUEUE_E_...' и 'DEQUEUE_E_...' или просто достаточно вызвать COMMIT WORK AND WAIT?
Back to top
View user's profile Send private message
imp
Участник
Участник



Joined: 14 Oct 2007
Posts: 12

PostPosted: Thu Nov 27, 2008 5:31 pm    Post subject: Reply with quote

Буквально 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.


З.Ы. сам с Persistent Objects пока не работал Smile
Back to top
View user's profile Send private message
Vol@nd
Участник
Участник



Joined: 08 Sep 2008
Posts: 6

PostPosted: Fri Nov 28, 2008 1:52 pm    Post subject: Reply with quote

Дык я не понял - надо блокировать или нет?
Back to top
View user's profile Send private message
imp
Участник
Участник



Joined: 14 Oct 2007
Posts: 12

PostPosted: Fri Nov 28, 2008 8:01 pm    Post subject: Reply with quote

Как я понял, надо, - за тебя этого делать никто не будет Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Russian ABAP Developer's Club Forum Index -> ABAP All times are GMT + 4 Hours
Page 1 of 1

 
Jump to:  
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.