code: @Override
      public Predicate or(Expression<Boolean> arg0, Expression<Boolean> arg1)
      {
          // TODO Auto-generated method stub
          if (arg0 != null && arg1 != null)
          {
              if (arg0.getClass().isAssignableFrom(ComparisonPredicate.class) && arg1.getClass().isAssignableFrom(ComparisonPredicate.class))
              {
                  return new DisjunctionPredicate((Predicate)arg0, (Predicate)arg1);
              }
          }
          return null;
      }
docs: /*
  (non-Javadoc)
  
  @see
  javax.persistence.criteria.CriteriaBuilder#or(javax.persistence.criteria
  .Expression, javax.persistence.criteria.Expression)