boolean success = false;
try
{
success = false;
tx.begin();
<BUG>Query q = pm.newQuery(BasicTypeHolder.class, "(this.longField == longVar)");

q.declareParameters("java.lang.Long longVar");</BUG>
Collection c = (Collection) q.execute(new Long(1));
q.closeAll();

boolean success = false;
try
{
success = false;
tx.begin();
Query q = pm.newQuery(BasicTypeHolder.class, "(this.longField == longVar)").parameters("java.lang.Long longVar");
Collection c = (Collection) q.execute(new Long(1));
q.closeAll();
