Re: adding Union clause to existing seeded VO

Hi all,
we have a requirement to add union clause to existing VO which is standard one.. please help me if it is possible...
regards,
Raghava.

Hi,
Following is the error stack for the code i wrote above....
we have a standard EO based VO and we need to add union clause to the VO query.. is there any approach to achieve this except extending VO?
The VO query is...
SELECT pca.COST_ALLOCATION_ID,
pca.EFFECTIVE_START_DATE,
pca.EFFECTIVE_END_DATE,
pca.BUSINESS_GROUP_ID,
pca.COST_ALLOCATION_KEYFLEX_ID,
pca.ASSIGNMENT_ID,
pca.PROPORTION as proportion,
pca.REQUEST_ID,
pca.PROGRAM_APPLICATION_ID,
pca.PROGRAM_ID,
pca.PROGRAM_UPDATE_DATE,
pca.LAST_UPDATE_DATE,
pca.LAST_UPDATED_BY,
pca.LAST_UPDATE_LOGIN,
pca.CREATED_BY,
pca.CREATION_DATE,
pca.OBJECT_VERSION_NUMBER,
pca.ROWID
FROM PAY_COST_ALLOCATIONS_F pca
WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id
The Union Clause needed is
and 1 = 2
union
(select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table)
I tried it thru CO as below...
OAApplicationModule oa =(OAApplicationModule) oapagecontext.getApplicationModule(oawebbean);
OAViewObject vo = (OAViewObject)oa.findViewObject("CostingEntryDetailVO");
String whereclause ="COST_ALLOCATION_KEYFLEX_ID=6217) " +
" AND 1=2 " +
" union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )";
if (vo!=null)
vo.setWhereClause(whereclause);
vo.executeQuery();
The error stack is:
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT pca.COST_ALLOCATION_ID,
pca.EFFECTIVE_START_DATE,
pca.EFFECTIVE_END_DATE,
pca.BUSINESS_GROUP_ID,
pca.COST_ALLOCATION_KEYFLEX_ID,
pca.ASSIGNMENT_ID,
pca.PROPORTION as proportion,
pca.REQUEST_ID,
pca.PROGRAM_APPLICATION_ID,
pca.PROGRAM_ID,
pca.PROGRAM_UPDATE_DATE,
pca.LAST_UPDATE_DATE,
pca.LAST_UPDATED_BY,
pca.LAST_UPDATE_LOGIN,
pca.CREATED_BY,
pca.CREATION_DATE,
pca.OBJECT_VERSION_NUMBER,
pca.ROWID
FROM PAY_COST_ALLOCATIONS_F pca
WHERE to_date(:1,'YYYY-MM-DD') between effective_start_date and effective_end_date and :2 = assignment_id) QRSLT WHERE (nullCOST_ALLOCATION_KEYFLEX_ID=6217 AND 1=2 union (( select cost_allocation_flex_id,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null from test_table )) ORDER BY effective_start_date
     at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
     at OA.jspService(_OA.java:212)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at OA.jspService(_OA.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:619)
## Detail 0 ##
java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
     at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
     at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
     at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
     at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
     at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
     at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
     at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
     at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
     at OA.jspService(_OA.java:212)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at OA.jspService(_OA.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:619)
java.sql.SQLSyntaxErrorException: ORA-00907: missing right parenthesis
     at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
     at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
     at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
     at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
     at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
     at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
     at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
     at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
     at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
     at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3387)
     at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3431)
     at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
     at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:860)
     at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:669)
     at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3723)
     at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4559)
     at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:743)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:892)
     at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:806)
     at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:800)
     at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3643)
     at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:439)
     at genus.oracle.apps.pay.selfservice.assignmentcosting.webui.xxxAssignmentCostingEntryCO.processRequest(xxxAssignmentCostingEntryCO.java:80)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
     at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
     at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
     at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
     at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
     at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2513)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
     at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
     at OA.jspService(_OA.java:212)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
     at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
     at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
     at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
     at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
     at OA.jspService(_OA.java:221)
     at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
     at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
     at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
     at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
     at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
     at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
     at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
     at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
     at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
     at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
     at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
     at java.lang.Thread.run(Thread.java:619)

Similar Messages

  • Adding UNION Dataset on EXISTING INTERFACE using SDK

    hi
    i am facing issue while adding UNION dataset and Mappings on Existing interface using ODI SDK.
    if anyone done before, please tell me how to do it.
    i am getting Unique constraint error.
    thanks
    nidhi

    Hi Michael Rainey, Unique constraint error was solved, but i am getting some other issue, here is the detail.
    i am trying to a add new Dataset(for Union Operation) using ODI SDK on existing Interface.
    Scenario:
    Dataset1 :
    Source DataStore : W_PLM_LISTENTRY_PS
    Column Name : ENTRYVALUE , ENTRY_ID
    Filter : id=1000
    Dataset 2:
    Source DataStore : W_PLM_LISTENTRY_PS
    Column Name : ENTRYVALUE, ENTRY_ID
    Filter : id=2000
    Target DataStore(Temporary):
    Coloumns : Name , ENTRY_ID
    Mapping between DataSet1 and Target Data Store already done in the Interface.
    Now I have to add new DataSet as “Dataset2” with UNION Operator and do the mapping in to the same interface through ODI SDK.
    Issue:
    I have give the ODI SDK code for the below, while running that I am getting following error
    Exception in thread "main" java.lang.IllegalArgumentException: Object must not be null
    while debugging I found that error occur exactly when the following code was running.
    interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("NAME","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
    Already mentioned that I am using Temporary Target datastore, so changed the target column name as "ENTRYVALUE" instead of “NAME” and modified java code like
    interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("ENTRYVALUE","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
    after this change it working well.
    So, it seems when ever target datastore column name not equal to source data store column name I am getting this error.
    Is it a bug? or am I doing anything wrong? please let me know.
    Thanks
    nidhi
    Code:
    OdiInstance odiInstance = odiInstanceHandle.getOdiInstance();
    ITransactionStatus trans = odiInstance.getTransactionManager().getTransaction(new DefaultTransactionDefinition());
    String prdLineSQSILDimInterface="SIL_PLM_InternalOraganizationDimension.W_PLM_INT_ORGANIZATION_D_SQ_INT_ORG";
    String sourceDataStore="W_PLM_LISTENTRY_PS";
    Collection<OdiInterface> odiInterfaces = ((IOdiInterfaceFinder)odiInstanceHandle.getOdiInstance().getTransactionalEntityManager().getFinder(OdiInterface.class)).findByName(prdLineSQSILDimInterface, "BIAPPS");
    OdiInterface interface=null;
    for (Iterator iter = odiInterfaces.iterator() ; iter.hasNext() ; )
         interface = (OdiInterface)iter.next();
    OdiDataStore odiDataStore = ((IOdiDataStoreFinder) odiInstanceHandle.getOdiInstance().getTransactionalEntityManager().getFinder(OdiDataStore.class)).findByName(sourceDataStore, "BIAPPS");
    InteractiveInterfaceHelperWithActions interactiveHelper = new InteractiveInterfaceHelperWithActions(interface, odiInstanceHandle.getOdiInstance(), odiInstanceHandle.getOdiInstance().getTransactionalEntityManager());
    DataSet newDataSet=new DataSet(interface,"MySet");
    newDataSet.setOperator("UNION");
    newDataSet.setOrder(10);
    interactiveHelper.performAction(new InterfaceActionAddSourceDataStore(odiDataStore, newDataSet,new AliasComputerDoubleChecker(),new ClauseImporterLazy(),new AutoMappingComputerLazy()));
    interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("ENTRY_ID","W_PLM_LISTENTRY_PS.ENTRY_ID",newDataSet));
    interactiveHelper.performAction(new InterfaceActionOnTargetMappingSetSql("NAME","W_PLM_LISTENTRY_PS.ENTRYVALUE",newDataSet));
    odiInstance.getTransactionalEntityManager().persist(anInterface);
    odiInstance.getTransactionManager().commit(trans);
    Edited by: knidhi on Apr 18, 2013 2:40 PM
    Edited by: knidhi on Apr 18, 2013 2:48 PM
    Edited by: knidhi on Apr 18, 2013 2:48 PM
    Edited by: knidhi on Apr 18, 2013 2:51 PM
    Edited by: knidhi on Apr 18, 2013 2:54 PM

  • Issue in adding Space to the existing Virtual Machine from added repository

    Hi,
    I'm facing issue in adding Space to the existing Virtual Machine (Guest OS) from added repository.
    Environment details :
    VM Server : /OVS => 130GB
    /OVS/935970F2CC2D4B4391701397517F1001/ => 512 GB
    Things I have done :
    •     I created a VM (Guest OS) in the VM Server with 120 GB
    •     After creating the VM (Guest OS) , When I tried adding a VIRTUAL DISK of size 150 GB , I got an error “Maximum available Disk space is only 10GB”.
    My query :
    •     Will I be able to add space to Existing VM from the added Repository ( /OVS/935970F2CC2D4B4391701397517F1001/ ) , whose system.img is stored in path /OVS/running_pool/34_rhel/ .
    Kindly help me out in this.
    Thanks in advance.
    -- Sri

    Hi all,
    I checked with Oracle on the above and got the info currently , the we can utilise only the space available in the existing repo and cannot extend to additional repo.
    Work around is : Clone it to the other repo , or Use Symbolic link .
    Thanks,
    Sri.

  • How to print a logo in existing / seeded report?

    Explain in details about the steps involved in printing a logo in existing / seeded report
    Thanks in advance
    Madhan

    It is either :
    1. Use bitmap reports (in earlier version of apps), set the output to postscript or pdf
    2. Use XML Publisher

  • Select query with UNION clause in database adapter

    Friends,
    I have got a SQL query with two UNION clause withing it. like
    select a,b,c
    from a
    union
    select a,b,c
    from b
    The schema generated is like below in sequence
    <element>a</element>
    <element>b</element>
    <element>c</element>
    <element>a</element>
    <element>b</element>
    <element>c</element>
    So, the columns from different select queries joined with UNION clause are all appeared in schema instead of the distinct columns.
    Is there any way around to solve this issue ? or will need to with DB function/procedure.

    I think I know what you are saying but your example doesn't make sense, your SQL should produce something like
    I had to change a, b, c with elementA, elementB, elementC as a and b are reserved html tags.
    <elementA>DateA</elementA>
    <elementB>DataB</elementB>
    <elementC>DataC</elementC>
    ...What is the result of the query when you run it in SQLPlus? Is it what you expect?
    cheers
    James

  • SQL statement with union clause

    Hi,
    I have a scenario where i need to generate a sql statement with UNION .
    Eg:
    SELECT B.YY_ID,
    FROM XXXX.YY B
    WHERE (B.YY_TY= 'as')
    UNION
    SELECT B.YY_ID
    FROM XXXX.YY_ALT_NAME A, XXXX.YY B
    WHERE (A.YY_TY= 'zx'
    AND (B.YY_ID=A.YY_ID)"
    I tried ns1:table1() union ns3:table2() in XQuery.
    But it is pushdown as 2 seperate sqls.
    Is it possible to create XQuery that pushdown as SINGLE SQL statement with union clause ?
    Thanks

    No. See 3.1.1.5 in the document I referenced in your previous post.

  • Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches

    Once I connected my new server to my farm's config db, it returned all of the following missing locally. I stripped out any redundancies and Headings, and I'm left with 43. I'm looking for a efficient strategy. Should I start with the lowest version number
    and work my way up? Current DB version is 14.0.7015.1000. IIRC, SP2 is cumulative, so can I ignore the first two (SP1 and Hotfix), install SP2, and then the Language packs and etc on top?
    Sorted by version:
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    Service Pack 2 for Microsoft SharePoint 2010 (KB2687453) 64-Bit Edition (14.0.7015.1000)
    Service Pack 2 for Microsoft 2010 Server Language Pack (KB2687462) 64-Bit Edition (14.0.7015.1000)
    Microsoft Office Server Proof (English) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (French) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Russian) 2010 (14.0.7015.1000)
    Microsoft Office Server Proof (Spanish) 2010 (14.0.7015.1000)
    Microsoft SharePoint Portal (14.0.7015.1000)
    Microsoft User Profiles (14.0.7015.1000)
    Microsoft SharePoint Portal English Language Pack (14.0.7015.1000)
    Microsoft Shared Components (14.0.7015.1000)
    Microsoft Shared Coms English Language Pack (14.0.7015.1000)
    Microsoft Slide Library (14.0.7015.1000)
    Microsoft InfoPath Forms Services (14.0.7015.1000)
    Microsoft InfoPath Form Services English Language Pack (14.0.7015.1000)
    Microsoft Word Server (14.0.7015.1000)
    Microsoft Word Server English Language Pack (14.0.7015.1000)
    PerformancePoint Services for SharePoint (14.0.7015.1000)
    PerformancePoint Services in SharePoint 1033 Language Pack (14.0.7015.1000)
    Microsoft Visio Services English Language Pack (14.0.7015.1000)
    Microsoft Visio Services Web Front End Components (14.0.7015.1000)
    Microsoft Excel Services Components (14.0.7015.1000)
    Microsoft Document Lifecycle Components (14.0.7015.1000)
    Microsoft Excel Services English Language Pack (14.0.7015.1000)
    Microsoft Search Server 2010 Core (14.0.7015.1000)
    Microsoft Search Server 2010 English Language Pack (14.0.7015.1000)
    Microsoft Document Lifecycle Components English Language Pack (14.0.7015.1000)
    Microsoft Slide Library English Language Pack (14.0.7015.1000)
    Microsoft SharePoint Server 2010 (14.0.7015.1000)
    Microsoft Access Services Server (14.0.7015.1000)
    Microsoft Access Services English Language Pack (14.0.7015.1000)
    Microsoft Web Analytics Web Front End Components (14.0.7015.1000)
    Microsoft Web Analytics English Language Pack (14.0.7015.1000)
    Microsoft Excel Mobile Viewer Components (14.0.7015.1000)
    Recommendations?
    Thanks,
    Scott

    Thanks guys. I was able to get through all of the patches except for
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - English   missing locally
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 -
    Spanish/Español missing locally
    This was my process:
    Config Wizard:
    Adding Index server to existing farm, "Server Farm Product and Patch Status" returned 34 Missing Locally required products and patches.
    SKIP installing the following two, as SP2 is cumulative
    Microsoft SharePoint 2010 Service Pack 1 (SP1) (14.0.6029.1000) (officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe)
    Hotfix for Microsoft SharePoint Server 2010 (KB2775353) 64-Bit Edition (14.0.6105.5000)
    install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe
    install oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Got "There are no products affected by this package installed on this system."
    SO!
    Uninstalled Sharepoint 2010 Server
    WIll try to install again, without skipping #2, and reorder installation of oslpksp2010-kb2687462-fullfile-x64-en-us.exe
    Retry (the long way):
    Run SharePointServer.exe, get Missing Locally...
    Install oslpksp2010-kb2687462-fullfile-x64-en-us.exe SUCCESSFUL
    Install officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe SUCCESSFUL
    Reboot
    Install oserversp2010-kb2687453-fullfile-x64-en-us.exe SUCCESSFUL
    Rerun Config
    STILL MISSING
    Download oslpksp2010-kb2687462-fullfile-x64-es-es.exe, run, "there are no products affected..."
    Uninstall.
    Re-retried, only got through the first couple:
    Run SharePointServer.exe, get Missing Locally...
    Install SP1 officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe, SUCCESSFUL
    Install English Lang Pack oslpksp2010-kb2687462-fullfile-x64-en-us.exe, "There are no products affected by this package installed on this system."
    Install Spanish Lang Pack oslpksp2010-kb2687462-fullfile-x64-es-es.exe,
    Install SP2 oserversp2010-kb2687453-fullfile-x64-en-us.exe, run Config Wizard
    I'm now downloading 462150_intl_x64_zip.exe, going to try and install it as step three.
    Any suggestions greatly appreciated.
    Thanks,
    Scott

  • Union clause cut off decimal places?

    Dear all,
    I am trying to create a query with "union" clause (to join 3 parts of records).
    If I run them separately, I got the figures in Qty field (of Bill of Material) with 3 decimal places.
    However, I only got 2 decimal places, when I combined the 3 sub-queries.
    Any idea please?
    Many thanks
    Yang
    Edited by: Y on Jul 10, 2009 4:16 PM

    Dear all,
    I just tried to create a view in the database for the "union" query, and I can see it is a 6 decimal numeric field from the SQL sever management studio, as all data are displayed fine.
    Unfortunately, I queried this view in SAP query manager, and it is still showing only 2 decimals ... 
    I am very keen to know if there is a solution.
    However, for now, I have let the view join the ITT1 table again in SAP to use the qantities figures.
    It seems that SAP only shows 2 digit for numeric fields, unless it is getting data from a generic data table?
    Cheers
    Yang

  • Implement a UNION clause

    Hi All,
    My requirement is simple.
    I want a Z table which combines the distinct Cost Center and Employee Pernr combination from two tables into one ztable.
    e.g.
    table 1..................................
    Cost Center         Pernr
    A                         emp1
    A                         emp2
    A                         emp3
    B                         emp1
    C                         emp3
    table 2.................................
    Cost Center         Pernr
    A                         emp3
    B                         emp1
    B                         emp2
    B                         emp3
    Resultant ZTable.................
    Cost Center         Pernr
    A                         emp1
    A                         emp2
    A                         emp3
    B                         emp1
    B                         emp2
    B                         emp3
    C                         emp3
    In SQL a simple UNION clause will do the trick, but in ABAP i am not able to achieve it.
    Please advise.

    Hi Saqi....
    types : begin of ty_tab,
          cc type string,
          emp type string,
         end of ty_tab.
    data : it_tab1 type table of ty_tab.
    data : it_tab2 type table of ty_tab.
    data : it_result type table of ty_tab.
    data : wa_tab type ty_tab.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp2'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'C'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab1.
    clear wa_tab.
    wa_tab-cc = 'A'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp1'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp2'.
    append wa_tab to it_tab2.
    clear wa_tab.
    wa_tab-cc = 'B'.
    wa_tab-emp = 'emp3'.
    append wa_tab to it_tab2.
    clear wa_tab.
    loop at it_tab1 into wa_tab.
      append wa_tab to it_result.
      clear wa_tab.
      endloop.
    clear wa_tab.
    loop at it_tab2 into wa_tab.
      append wa_tab to it_result.
      clear wa_tab.
      endloop.
      sort it_result by cc emp.
      delete adjacent duplicates from it_result comparing cc emp.
      clear wa_tab.
    loop at it_result into wa_tab.
      write : wa_tab-cc.
      write : wa_tab-emp.
      clear wa_tab.
      endloop.
    Hope this above code helps you...
    It is able to create a union of the two tables...
    Please revert back in case of any issues...

  • InDesign CC 2014 version adding pages to an existing document keeps crashing, why?

    InDesign CC 2014 version adding pages to an existing document keeps crashing, why?

    Because there's a problem in the file. See Remove minor corruption by exporting

  • Adding portal to an existing domain

    Hi I have a JSP/Servlet web applicatin and
    I want to make it a portal application.
    I was following Weblogic Portal Development
    Guide 7.0. I found the section
    "Adding portal to an existing domain" is very incomplete
    or confusing and I cannot do it. Is there any better document
    for this?

    Judging from the dates between these two entrries and no answers, I'd
    guess that there isn't anyone from BEA monitoring this group? I am in a
    similar situation. What I want to understand is how one can "portalize" an
    existing web app. I understand there are implications to some of the
    presentation, but specifically, I want to deploy a Servlet based app that
    uses EJBs and deploy this as an EAR in the same domain as the portal
    (perhaps under the /applications directory). I can make everything work
    except the webflow where I reference the Servlet.
    Specifically, I have a presentation page that is defined to be my servlet.
    When I try to build a webflow URL referencing this event, I get errors from
    the portal because it presumes it may be located somewhere else or in a
    different namespace. It leads me to believe that I can't reference a
    servlet unless it is under the /framework or /portal directories under the
    portal web-app directory. I'm convinced there must be a way to reference
    other web components that aren't specifically part of the portal web app,
    but can't figure out how to propagate the webflow element to the actual
    servlet I want.
    Any ideas from the community at large? This must be something other
    people have wrestled with since I can't imagine that only new apps will be
    put into portals.
    Thanks,
    Mark
    "Sara" <[email protected]> wrote in message
    news:[email protected]...
    >
    I'm facing similar problems too. I have an ear file in an existing domainthat
    I want to use to create a portal. The documentation on this is quiteconfusing
    and the steps require so many manual steps that it is bound to beerror-prone.
    What's BEA's recommended way to expose an existing Weblogic application asa portal
    Thanks in advance
    -Sara
    "David Zhang" <[email protected]> wrote:
    Hi I have a JSP/Servlet web applicatin and
    I want to make it a portal application.
    I was following Weblogic Portal Development
    Guide 7.0. I found the section
    "Adding portal to an existing domain" is very incomplete
    or confusing and I cannot do it. Is there any better document
    for this?

  • Adding replication to an existing database.

    I am looking at adding replication to an existing database. This database has lots of existing containers many of them are 1G in size. How will this be handled when the master and client initially start? Will the master just start sending to the client? Is there another option?

    Yes. This, and the alternatives, are described in the Ref Guide, on the page entitled "Initializing a new site".
    Alan Bram
    Oracle

  • I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the "  " sign in front of them

    I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the " " sign in front of them

    I was adding songs to and existing playlist and now I can't save the changes to the playlist. What do I need to do to save the changes? All my music have now the "+ " sign in front of them

  • Adding phone layout to existing desktop site - No scratch page created

    Trying to make a phone version of site created in muse but no scratch page is created in desktop plan after adding phone layout. Ideas?

    I'm following adobe help tutorial  http://helpx.adobe.com/muse/tutorials/creating-mobile-layout-designs-muse.html#id_25691htt p://
    Under heading "Adding Phone Layout to Existing Muse Site"  #3 starts refering to "scratch page"

  • [svn:osmf:] 9866: Adding '@throws' clauses to ILayoutRenderer add/ remove target methods, and adding a 'targets(target:ILayoutTarget)' method that allows checking addition/removal validity up front.

    Revision: 9866
    Author:   [email protected]
    Date:     2009-09-01 00:56:48 -0700 (Tue, 01 Sep 2009)
    Log Message:
    Adding '@throws' clauses to ILayoutRenderer add/remove target methods, and adding a 'targets(target:ILayoutTarget)' method that allows checking addition/removal validity up front.
    Modified Paths:
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/ILayoutRenderer.as
        osmf/trunk/framework/MediaFramework/org/openvideoplayer/layout/LayoutRendererBase.as

Maybe you are looking for

  • FTP directory from part of PDF file name

    Hi, I have a requirement to FTP a pdf file to a server directory according to fist 10 char of the file name. I am able to get the file name using variable substitution method but how can i chop the 1st 10 char of file name as my directory? As the fil

  • Camera file generator timeout

    Time out came up on Camera File Generator Hi Recently I use Camera File Generator Version 2.1.1 to control a CamraLink camera through IMAQ PCI-1428. When I grab the image "Acquisition Timeout" message came up. I changed smaller image format, but it w

  • How can I make leading .... appear in toc. P1 is broken, P2 is fine.

    Help please - I am desperate. I have a 2-page toc in a new  book. I imported the toc format from a good toc and now page 2 looks great, but I cannot make the leading dots appear on page 1 and I need this damn book in one hour. Thanks Phil

  • Creative Cloud Installation

    So I was trying to download Adobe Premier because I am a youtuber and I heard you can work with multiple layers. Well, When I tried to download from Creative Cloud. It said "Error, Creative Cloud Desktop is running in the backgroun" When I checked my

  • Os x running very slow. Spinning beach ball happens often

    I dont know what happened latley here the last few days i cant do much of anything for long before i get the spinning beach ball. It drives me crazy because i am typing or doing something and i have to stop wait for it to go away then i can do someth