Query q = qf.from(User.class)
.orderBy("id", SortOrder.ASC)
.having("accountIds").containsAny(2, 3)
.toBuilder().build();
List<User> list = q.list();
assertEquals(2, list.size());
assertEquals(1, list.get(0).getId());
assertEquals(2, list.get(1).getId());
}