Map<String, Object> params = new HashMap<String, Object>();
params.put("name1", "artist2");
params.put("name2", "artist3");
Expression e = Expression
.fromString("artistName = $name1 or artistName = $name2");
SelectQuery q = new SelectQuery("Artist", e.expWithParameters(params));
q.addPrefetch(Artist.PAINTING_ARRAY_PROPERTY);
final List<Artist> artists = context.performQuery(q);
queryInterceptor.runWithQueriesBlocked(new UnitTestClosure() {