g2.setObjectId(oid2);
Expression e1 = ExpressionFactory.matchExp("toGallery", g1);
Expression e2 = e1.orExp(ExpressionFactory.matchExp("toGallery", g2));
TstExpressionCase extraCase = new TstExpressionCase(
"Exhibit",
e2,
"(ta.GALLERY_ID = ?) OR (ta.GALLERY_ID = ?)",
4,
4);