Virtusa Consulting Services Pvt. Ltd.
Last activity: 31 Aug 2015 5:37 EDT
When to use rdb methods over obj methods
I am looking for a clear explanation on where to use RDB methods instead of Obj methods. I have already considered the following points.
- To access tables outside pega database. However, we can use external class to map to outside db table and use Obj methods. One point to note here, Pega recommends to use Obj methods for external tables in rare occasions and use of Rdb methods are preferred. Not sure why. Would be great if anybody can explain this as well.
- Complex query. However, we can use Report definition etc. which can achieve similar output
- rdb methods does instant commit while you can have deferred commit in obj methods. However obj methods also have Write Now option which will commit instantly.
Given the above points please let me know if there are any particular reasons / situations where I should use RDB methods over Obj.
Thanks to all the great minds in advance.