Description
If entity is used as a parameter in qualifier expression all its unfaulted to-many relationships are faulted prior to actual query sent to server. For example:
Expression exp = ExpressionFactory.matchExp(Painting.ARTIST_PROPERTY, artist);
context.performQuery(new SelectQuery(Painting.class, exp));
Before actual query will be sent to server all artist's to-many relationships will be faulted. What I see is that in the process of query serialization on client side PersistentObjectList.size() is invoked which triggers relationships' faulting from database.