I have executed some querys found in some examples, such as: SELECT * FROM cmis:document d join cm:titled t on d.cmisbjectId = t.cmisbjectId
or (adapting it to my models) SELECT * FROM cmis:document d join acta:acta t on d.cmisbjectId = t.cmisbjectId
And are working, but can't find the way to get the id of the document in the association for the query (instead of d.cmisbjectId, I need the associaton document ID).