3 Replies Latest reply on Feb 25, 2013 5:04 PM by Steven Hawkins

    "OR" operator

    jane_lj Novice

      Hi,

       

      My translator has handled "AndOr" operator, but somehow when I execute sql statement like "update tableA set ... where c1=1 or c2=2", it doesn't go through my updateexecution, it goes throught queryexecution, looks like Teiid doesn't think my translator handels that.

       

      But if i execute sql like "update tableA set ... where c1=1 and c2=2", it goes to my updateexecution. Don't know what's is missing?

       

      I have override this method in my update visitor class:

       

      public void visit(AndOr arg0)

      {

        .....

      }

       

      Thanks.