11 Replies Latest reply: Mar 25, 2014 9:51 PM by FPonte RSS

    ODI 11g - Dynamic and Flexible Code Generation

    user11186910

      <$

      String V_COND;

      V_COND="Y";

      if (V_COND.equals("Y")  )

      { $> EMP.DEPTNO in (select deptno from source.dept) <$ } else

      { $> EMP.DEPTNO=70 <$ }

      $>

       

       

       

      Kindly help me out this is the java jython code and i have written this code in filter tab of odi interface and it is working  fine but the problem is i want to call database function in this code that return a value that is to assigned in v_cond variable that i have taken and then i will use that further in if condition as i am using if (V_COND.equals("Y")  )