ParenthesizedExpression paren = (ParenthesizedExpression)predicate;
where = where.openParen();
translatePredicate(paren.getWrapped(), tableName, where);
where.closeParen();
} else if (predicate instanceof And) {
And and = (And)predicate;
where = where.openParen();
translatePredicate(and.getLeft(), tableName, where);
where.and();
translatePredicate(and.getRight(), tableName, where);
where.closeParen();
} else if (predicate instanceof Or) {
Or or = (Or)predicate;
where = where.openParen();
translatePredicate(or.getLeft(), tableName, where);