Hi All,
We are creating Query object using below code.
javax.jcr.query.Query query = queryManager.createQuery(queryString, javax.jcr.query.Query.XPATH);
As javax.jcr.query.Query.XPATH constant has been deprecated in AEM 6.2,what will be the alternative approach to create query object of type XPATH,
I know it works even though it's deprecated but we want to change the code to comply more with the AEM 6.2
Thanks,
Kishore
Solved! Go to Solution.
Views
Replies
Total Likes
Do not use XPaths anymore. Use:
Query query = builder.createQuery(PredicateGroup.create(map), session);
Views
Replies
Total Likes
Do not use XPaths anymore. Use:
Query query = builder.createQuery(PredicateGroup.create(map), session);
Views
Replies
Total Likes