private String completeFindAssociationQuery(String relationshipType, AssociationKeyMetadata associationKeyMetadata) {
		StringBuilder queryBuilder = findAssociationPartialQuery( relationshipType, associationKeyMetadata );
		queryBuilder.append( "RETURN id(target), r, " );
		queryBuilder.append( ENTITY_ALIAS );
		queryBuilder.append( ", target ORDER BY id(target) " );
		return queryBuilder.toString();
	}
private String completeFindAssociationQuery ( String relationshipType , AssociationKeyMetadata associationKeyMetadata ) { StringBuilder queryBuilder = findAssociationPartialQuery ( relationshipType , associationKeyMetadata ) ; queryBuilder . append ( "RETURN id(target), r, " ) ; queryBuilder . append ( ENTITY_ALIAS ) ; queryBuilder . append ( ", target ORDER BY id(target) " ) ; return queryBuilder . toString ( ) ; }
/*
Example:

MATCH (owner:ENTITY:Car {`carId.maker`: {0}, `carId.model`: {1}}) <-[r:tires]- (target)
RETURN r, owner, target

or for embedded associations:

MATCH (owner:ENTITY:StoryGame {id: {0}}) -[:evilBranch]-> (:EMBEDDED) -[r:additionalEndings]-> (target:EMBEDDED)
RETURN id(target), r, owner, target ORDER BY id(target)