Does Adobe recommend XPath query over SQL2 Queries ? If so why ?
Hi All
Recently I happened to attend an interview where, along with lot other architectural questions, I was asked which query is best ? . AFAIK , there is not much difference between them performance wise, as at the end everything get compiled and converted to SQL2. When I gave this answer the interviewer said "Adobe recommends XPath. why?" . I am not sure. I went and checked the documentation for query builder and I can see (recommended) against XPATH. I searched the forum and got this https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/xpath-or-sql2/qaq-p/279447 . But then here @joerghoh clearly mentions that XPath is deprecated , but still supported by OAK. I am bit confused . Can someone guide me ?
Thanks
Veena
