Assert.assertEquals(ids[4],JDOHelper.getObjectId(c.iterator().next()));
if (vendorID.equalsIgnoreCase("oracle") || vendorID.equalsIgnoreCase("derby"))
{
q = pm.newQuery(Office.class,"\"spring_field\".matches(this.description)");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(1,c.size());</BUG>
}
if (vendorID.equalsIgnoreCase("derby"))
{
Assert.assertEquals(ids[2],JDOHelper.getObjectId(c.iterator().next()));

Assert.assertEquals(ids[4],JDOHelper.getObjectId(c.iterator().next()));
if (vendorID.equalsIgnoreCase("oracle") || vendorID.equalsIgnoreCase("derby"))
{
q = pm.newQuery(Office.class,"\"spring_field\".matches(this.description)");
c = q.executeList();
Assert.assertEquals(1,c.size());
}
if (vendorID.equalsIgnoreCase("derby"))
{
Assert.assertEquals(ids[2],JDOHelper.getObjectId(c.iterator().next()));
