How to check “Derived table statement” in ikm using ODI SDK in ODI 11g?

放肆的年华 提交于 2020-01-06 05:49:48

问题


I am trying to generate Ikm with Derived table statement in source command. I can able to set source command but not able to check the check box "Derived table statement" as shown in picture below.

The code I was trying is

SqlGroupType pSqlGroupType = Expression.SqlGroupType.CONSTANT;//valueOf("SQLQUERY");
    String exp="(<%=odiRef.getUserExit(“SQLQUERY”)%>)";
    Expression pExpression= new Expression(exp, pCrossRefs, pSqlGroupType);
    pSourceCommand.setExpression(pExpression);;

    Collection<ProcedureOption> pGenerationConditions=null;

    ob.addLine("SQLQUERY", pTargetCommand, pSourceCommand, pGenerationConditions);
    OdiIKMLine pLine =null ;
    ob.setDerivedSelectStatementLine(pLine);

来源:https://stackoverflow.com/questions/48096919/how-to-check-derived-table-statement-in-ikm-using-odi-sdk-in-odi-11g

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!