AnsweredAssumed Answered

CMIS Query Language - Outer joins

Question asked by iv0id on Jun 18, 2014
Latest reply on Jun 19, 2014 by iv0id
Hi,

I'm trying to execute this query using CMIS but apparently it's not possible to perform outer joins in CMIS QL.(Alfresco 4.0.e & CMIS 1.0 )
Query :

SELECT * FROM cmis:document d LEFT join cm:titled t on d.cmis:objectId = t.cmis:objectId


i get the exception :

org.apache.chemistry.opencmis.commons.exceptions.CmisRuntimeException: Outer joins are not supported
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:452)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post(AbstractAtomPubService.java:570)
   at org.apache.chemistry.opencmis.client.bindings.spi.atompub.DiscoveryServiceImpl.query(DiscoveryServiceImpl.java:142)
   at org.apache.chemistry.opencmis.client.runtime.SessionImpl$3.fetchPage(SessionImpl.java:557)
   at org.apache.chemistry.opencmis.client.runtime.util.AbstractIterator.getCurrentPage(AbstractIterator.java:132)
   at org.apache.chemistry.opencmis.client.runtime.util.CollectionIterator.hasNext(CollectionIterator.java:48)
   at com.sqli.sante.ged.alfresco.document.service.AlfrescoDocumentServiceImpl.main(AlfrescoDocumentServiceImpl.java:732)


is there a configuration to make or the outer joins are not supported?

Thank you.

Outcomes