Collection c = (Collection) q.execute("Road");
assertEquals(1,c.size());
assertEquals(((ReachableItem)c.iterator().next()).getName(), "Road");
tx.commit();
tx.begin();
<BUG>q = pm.newQuery(ReachableItem.class);
q.setFilter("this == item && (item.name.equals(\"Bugs\") || item.name.equals(\"Road\"))");

q.declareVariables(ReachableItem.class.getName() + " item");

q.setOrdering("name ascending");</BUG>
List l = new ArrayList((Collection) q.execute());

Collection c = (Collection) q.execute("Road");
assertEquals(1,c.size());
assertEquals(((ReachableItem)c.iterator().next()).getName(), "Road");
tx.commit();
tx.begin();
q = pm.newQuery(ReachableItem.class).filter("this == item && (item.name.equals(\"Bugs\") || item.name.equals(\"Road\"))");
q.variables(ReachableItem.class.getName() + " item").orderBy("name ascending");
List l = new ArrayList((Collection) q.execute());
