3 Replies Latest reply on Jul 18, 2012 2:35 PM by rokhmanov

    Calling a java class from teiid trigger

    rokhmanov

      Hi,

       

      Is it possible to call some java code by teiid trigger event? The closest approach I have in mind - have a trigger to call a custom translator (which will call a java code). Something like this:

      "alter trigger on SmallA_2589 instead of insert as for each row begin atomic call custom.test123(new.col1, new.col2) ; end" - where "custom.test123" represents a custom translator.

      Is there any better way?

       

      Thanks,

      Andriy