// implicit variable type. We now set the type to the collection type
var.setVariableType(clr.classForName(collStore.getElementType()));
}
// Get the exists query of the collection table
String existsTableId = idFactory.newIdentifier(
idFactory.newIdentifier(te.getAlias(), fieldName), var.getVariableName()).getIdentifier();
DatastoreIdentifier existsTableAlias = idFactory.newIdentifier(IdentifierFactory.TABLE, existsTableId);
QueryExpression qexpr = getBackingStoreQueryable().getExistsSubquery(qs, mapping, te, existsTableAlias);
// Join from the collection table to the element table